mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-10-17 13:25:31 +02:00
Add tolerations for jenkis pod (#807)
Signed-off-by: tombokombo <tombo@sysart.tech>
This commit is contained in:
@@ -95,6 +95,9 @@ spec:
|
||||
{{- with .Values.jenkins.nodeSelector }}
|
||||
nodeSelector: {{ toYaml . | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- with .Values.jenkins.tolerations }}
|
||||
tolerations: {{ toYaml . | nindent 6 }}
|
||||
{{- end }}
|
||||
{{- with .Values.jenkins.annotations }}
|
||||
annotations: {{ toYaml . | nindent 6 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -27,6 +27,9 @@ jenkins:
|
||||
# nodeSelector are injected into metadata nodeSelector field
|
||||
nodeSelector: {}
|
||||
|
||||
# tolerations are injected into metadata tolerations field
|
||||
tolerations: []
|
||||
|
||||
# annotations are injected into metadata annotations field
|
||||
annotations: {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user