From 7c823a763c1d377c8b123258c69535ddce8b8224 Mon Sep 17 00:00:00 2001 From: Sylwia Brant Date: Mon, 28 Sep 2020 12:47:23 +0200 Subject: [PATCH] Added labels and annotations to Helm Chart Added configuration option for the user to specify annotations and labels for Jenkins pod via helm. Updated installation guide with information about this feature. --- chart/jenkins-operator/templates/jenkins.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/chart/jenkins-operator/templates/jenkins.yaml b/chart/jenkins-operator/templates/jenkins.yaml index 5713501b..23abc497 100644 --- a/chart/jenkins-operator/templates/jenkins.yaml +++ b/chart/jenkins-operator/templates/jenkins.yaml @@ -7,9 +7,6 @@ metadata: {{- with .Values.jenkins.labels }} labels: {{ toYaml . | nindent 4 }} {{- end }} - {{- with .Values.jenkins.annotations }} - annotations: {{ toYaml . | nindent 4 }} - {{- end }} spec: configurationAsCode: configurations: @@ -139,4 +136,4 @@ spec: {{- with .Values.jenkins.seedJobs }} seedJobs: {{- toYaml . | nindent 4 }} {{- end }} - {{- end }} +{{- end }}