From 8e47a119348a9585dc104be16d9e5a2bd139f7ec Mon Sep 17 00:00:00 2001 From: Aaron Sheffield Date: Tue, 26 Jun 2018 14:23:34 -0500 Subject: [PATCH] Update tiller Labels - Adding labels to the metadata section. Change-Id: I95589810c1378a0a4a8bfb35cb7d321c839846e3 --- charts/tiller/templates/tiller-service.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/charts/tiller/templates/tiller-service.yaml b/charts/tiller/templates/tiller-service.yaml index 33adeb38..095b8dde 100644 --- a/charts/tiller/templates/tiller-service.yaml +++ b/charts/tiller/templates/tiller-service.yaml @@ -23,6 +23,7 @@ metadata: labels: app: helm name: tiller +{{ tuple $envAll "tiller" "service" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} name: tiller-deploy spec: ports: @@ -33,10 +34,7 @@ spec: selector: app: helm name: tiller - template: - metadata: - labels: -{{ tuple $envAll "tiller" "service" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 10 }} +{{ tuple $envAll "tiller" "service" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} sessionAffinity: None type: ClusterIP {{- end }}