jsonnet: add default container annotation for KSM and blackbox
Signed-off-by: paulfantom <pawel@krupa.net.pl>
This commit is contained in:
@@ -218,7 +218,12 @@ function(params) {
|
||||
replicas: bb._config.replicas,
|
||||
selector: { matchLabels: bb._config.selectorLabels },
|
||||
template: {
|
||||
metadata: { labels: bb._config.commonLabels },
|
||||
metadata: {
|
||||
labels: bb._config.commonLabels,
|
||||
annotations: {
|
||||
'kubectl.kubernetes.io/default-container': blackboxExporter.name,
|
||||
},
|
||||
},
|
||||
spec: {
|
||||
containers: [blackboxExporter, reloader, kubeRbacProxy],
|
||||
nodeSelector: { 'kubernetes.io/os': 'linux' },
|
||||
|
||||
Reference in New Issue
Block a user