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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

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

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: {}