3
0
mirror of https://github.com/mastodon/chart synced 2025-05-17 20:43:21 +00:00

fix inheritance of sidekiq securityContext

This commit is contained in:
Roberto Santalla 2023-07-06 23:12:25 +02:00 committed by Ro Santalla
parent f5c9cdc364
commit fea76cc473
No known key found for this signature in database
GPG Key ID: EECD0A1AE7884E7C

View File

@ -81,8 +81,10 @@ spec:
{{- end }}
containers:
- name: {{ $context.Chart.Name }}
{{- with $context.Values.mastodon.sidekiq.securityContext | default $context.Values.securityContext }}
securityContext:
{{- toYaml $context.Values.mastodon.sidekiq.securityContext | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
image: "{{ coalesce (dig "image" "repository" false .) $context.Values.image.repository }}:{{ coalesce (dig "image" "tag" false .) $context.Values.image.tag $context.Chart.AppVersion }}"
imagePullPolicy: {{ $context.Values.image.pullPolicy }}
command: