mirror of
https://github.com/jenkinsci/kubernetes-operator.git
synced 2026-09-30 05:01:10 +02:00
fix(master): pass lifecycle configuration to master container (#1062)
This commit is contained in:
@@ -134,6 +134,9 @@ spec:
|
||||
{{- with .Values.jenkins.env }}
|
||||
env: {{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.jenkins.lifecycle}}
|
||||
lifecycle: {{ toYaml . | nindent 10 }}
|
||||
{{- end }}
|
||||
{{- with .Values.jenkins.volumeMounts }}
|
||||
volumeMounts: {{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -44,6 +44,9 @@ jenkins:
|
||||
# imagePullPolicy defines policy for pulling images
|
||||
imagePullPolicy: Always
|
||||
|
||||
# lifecycle is used if you want to specify lifecycle hooks for the master container
|
||||
lifecycle: {}
|
||||
|
||||
# priorityClassName indicates the importance of a Pod relative to other Pods
|
||||
# See: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
|
||||
priorityClassName: ""
|
||||
|
||||
Reference in New Issue
Block a user