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:
parent
3362aae2a3
commit
b734b6d74f
|
|
@ -92,6 +92,9 @@ spec:
|
||||||
{{- with .Values.jenkins.labels }}
|
{{- with .Values.jenkins.labels }}
|
||||||
labels: {{ toYaml . | nindent 6 }}
|
labels: {{ toYaml . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.jenkins.nodeSelector }}
|
||||||
|
nodeSelector: {{ toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.jenkins.annotations }}
|
{{- with .Values.jenkins.annotations }}
|
||||||
annotations: {{ toYaml . | nindent 6 }}
|
annotations: {{ toYaml . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,9 @@ jenkins:
|
||||||
# labels are injected into metadata labels field
|
# labels are injected into metadata labels field
|
||||||
labels: {}
|
labels: {}
|
||||||
|
|
||||||
|
# nodeSelector are injected into metadata nodeSelector field
|
||||||
|
nodeSelector: {}
|
||||||
|
|
||||||
# annotations are injected into metadata annotations field
|
# annotations are injected into metadata annotations field
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue