missed one

Signed-off-by: Wim Fournier <github@fournier.nl>
This commit is contained in:
Wim Fournier 2023-05-23 10:03:41 +02:00
parent 6c09da9429
commit 6bab7599a4

View file

@ -41,9 +41,11 @@ spec:
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.redis.containerSecurityContext.enabled }}
{{- with .Values.redis.securityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- omit . "enabled" | toYaml | nindent 8 }}
{{- end }}
{{- end }}
{{- with .Values.redis.priorityClassName | default .Values.global.priorityClassName }}
priorityClassName: {{ . }}