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.
This commit is contained in:
Sylwia Brant 2020-09-28 12:47:23 +02:00
parent 7a7564f76b
commit 7c823a763c
1 changed files with 1 additions and 4 deletions

View File

@ -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 }}