Add tolerations for jenkis pod (#807)
Signed-off-by: tombokombo <tombo@sysart.tech>
This commit is contained in:
parent
6932b61ff9
commit
e36441a4a2
|
|
@ -95,6 +95,9 @@ spec:
|
||||||
{{- with .Values.jenkins.nodeSelector }}
|
{{- with .Values.jenkins.nodeSelector }}
|
||||||
nodeSelector: {{ toYaml . | nindent 6 }}
|
nodeSelector: {{ toYaml . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Values.jenkins.tolerations }}
|
||||||
|
tolerations: {{ toYaml . | nindent 6 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.jenkins.annotations }}
|
{{- with .Values.jenkins.annotations }}
|
||||||
annotations: {{ toYaml . | nindent 6 }}
|
annotations: {{ toYaml . | nindent 6 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,9 @@ jenkins:
|
||||||
# nodeSelector are injected into metadata nodeSelector field
|
# nodeSelector are injected into metadata nodeSelector field
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
|
|
||||||
|
# tolerations are injected into metadata tolerations field
|
||||||
|
tolerations: []
|
||||||
|
|
||||||
# annotations are injected into metadata annotations field
|
# annotations are injected into metadata annotations field
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue