mirror of
https://github.com/mastodon/chart
synced 2025-03-14 21:11:50 +00:00
fix inheritance of sidekiq securityContext (#76)
This commit is contained in:
parent
2c6a62a4ec
commit
93bda606a3
|
@ -83,8 +83,10 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ $context.Chart.Name }}
|
- name: {{ $context.Chart.Name }}
|
||||||
|
{{- with $context.Values.mastodon.sidekiq.securityContext | default $context.Values.securityContext }}
|
||||||
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 }}"
|
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 }}
|
imagePullPolicy: {{ $context.Values.image.pullPolicy }}
|
||||||
command:
|
command:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user