jsonnet: annotate default container for node-exporter DS

Signed-off-by: paulfantom <pawel@krupa.net.pl>
This commit is contained in:
paulfantom 2021-10-25 14:16:43 +02:00
parent 617bcd2d25
commit 1a67ab3655

View File

@ -233,7 +233,12 @@ function(params) {
rollingUpdate: { maxUnavailable: '10%' },
},
template: {
metadata: { labels: ne._config.commonLabels },
metadata: {
annotations: {
'kubectl.kubernetes.io/default-container': nodeExporter.name,
},
labels: ne._config.commonLabels,
},
spec: {
nodeSelector: { 'kubernetes.io/os': 'linux' },
tolerations: [{