DaemonSet: Align to Deployment
(and vice versa).
This commit is contained in:
parent
156273bf39
commit
1b7decb375
2 changed files with 3 additions and 4 deletions
|
@ -53,12 +53,12 @@ spec:
|
||||||
imagePullSecrets: {{ toYaml .Values.imagePullSecrets | nindent 8 }}
|
imagePullSecrets: {{ toYaml .Values.imagePullSecrets | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.controller.priorityClassName }}
|
{{- if .Values.controller.priorityClassName }}
|
||||||
priorityClassName: {{ .Values.controller.priorityClassName }}
|
priorityClassName: {{ .Values.controller.priorityClassName | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if or .Values.controller.podSecurityContext .Values.controller.sysctls }}
|
{{- if or .Values.controller.podSecurityContext .Values.controller.sysctls }}
|
||||||
securityContext:
|
securityContext:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.controller.podSecurityContext }}
|
{{- if .Values.controller.podSecurityContext }}
|
||||||
{{- toYaml .Values.controller.podSecurityContext | nindent 8 }}
|
{{- toYaml .Values.controller.podSecurityContext | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.controller.sysctls }}
|
{{- if .Values.controller.sysctls }}
|
||||||
|
|
|
@ -24,8 +24,7 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
|
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
|
||||||
{{- if .Values.controller.updateStrategy }}
|
{{- if .Values.controller.updateStrategy }}
|
||||||
strategy:
|
strategy: {{ toYaml .Values.controller.updateStrategy | nindent 4 }}
|
||||||
{{ toYaml .Values.controller.updateStrategy | nindent 4 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
minReadySeconds: {{ .Values.controller.minReadySeconds }}
|
minReadySeconds: {{ .Values.controller.minReadySeconds }}
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in a new issue