3
0
mirror of https://github.com/mastodon/chart synced 2024-10-22 19:02:44 +00:00

fix inheritance of sidekiq securityContext (#76)

This commit is contained in:
Ro Santalla 2024-04-22 09:27:20 +02:00 committed by GitHub
parent 2c6a62a4ec
commit 93bda606a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -83,8 +83,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: