From 5e0b8c7e5c28e38b5eb49f6782b900d26e2a4feb Mon Sep 17 00:00:00 2001 From: Aaron Sheffield Date: Mon, 25 Jun 2018 14:07:01 -0500 Subject: [PATCH] Updated and Fixed Tiller Labels - Added labels to tiller deploy. - Updated labels location in tiller service. Change-Id: I8e71731ccea27738b59b4eaabe4fda32b5a4da53 --- charts/tiller/templates/deployment-tiller.yaml | 1 + charts/tiller/templates/tiller-service.yaml | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/tiller/templates/deployment-tiller.yaml b/charts/tiller/templates/deployment-tiller.yaml index c515e3eb..24a6ecc2 100644 --- a/charts/tiller/templates/deployment-tiller.yaml +++ b/charts/tiller/templates/deployment-tiller.yaml @@ -55,6 +55,7 @@ spec: labels: app: helm name: tiller +{{ tuple $envAll "tiller" "deploy" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }} spec: serviceAccountName: {{ $serviceAccountName }} containers: diff --git a/charts/tiller/templates/tiller-service.yaml b/charts/tiller/templates/tiller-service.yaml index d1ac811e..33adeb38 100644 --- a/charts/tiller/templates/tiller-service.yaml +++ b/charts/tiller/templates/tiller-service.yaml @@ -33,7 +33,10 @@ spec: selector: app: helm name: tiller -{{ tuple $envAll "tiller" "service" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} + template: + metadata: + labels: +{{ tuple $envAll "tiller" "service" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 10 }} sessionAffinity: None type: ClusterIP {{- end }}