Customize jenkins-operator helmchart with adding 'nodeSelector' (#723)

* Customize jenkins-operator helmchart with adding 'nodeSelector'

* Fix nindent in chart template

* Fix nodeSelector position in helm jenkins template
This commit is contained in:
ywang-psee
2022-06-20 21:25:37 +02:00
committed by GitHub
parent 3362aae2a3
commit b734b6d74f
2 changed files with 6 additions and 0 deletions
@@ -92,6 +92,9 @@ spec:
{{- with .Values.jenkins.labels }}
labels: {{ toYaml . | nindent 6 }}
{{- end }}
{{- with .Values.jenkins.nodeSelector }}
nodeSelector: {{ toYaml . | nindent 6 }}
{{- end }}
{{- with .Values.jenkins.annotations }}
annotations: {{ toYaml . | nindent 6 }}
{{- end }}
+3
View File
@@ -24,6 +24,9 @@ jenkins:
# labels are injected into metadata labels field
labels: {}
# nodeSelector are injected into metadata nodeSelector field
nodeSelector: {}
# annotations are injected into metadata annotations field
annotations: {}