mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-09-29 20:51:10 +02:00
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:
@@ -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 }}
|
||||
|
||||
@@ -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: {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user