Skip to content

Commit

Permalink
fix(#266): swap pod & container securityContext (#278)
Browse files Browse the repository at this point in the history
* fix(deployment): swap pod & container securityContext

Signed-off-by: Baptiste Roux <[email protected]>

* chore: bump chart version

Signed-off-by: Baptiste Roux <[email protected]>

---------

Signed-off-by: Baptiste Roux <[email protected]>
  • Loading branch information
BapRx authored Feb 1, 2025
1 parent 6a794a3 commit 4d593ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/authelia/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: authelia
version: 0.9.14
version: 0.9.15
kubeVersion: ">= 1.13.0-0"
description: Authelia is a Single Sign-On Multi-Factor portal for web apps
type: application
Expand Down
4 changes: 2 additions & 2 deletions charts/authelia/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ spec:
{{- with $affinity := .Values.pod.selectors.affinity }}
affinity: {{ toYaml $affinity | nindent 8 }}
{{- end }}
{{- with $context := .Values.pod.securityContext.container }}
{{- with $context := .Values.pod.securityContext.pod }}
securityContext: {{ toYaml $context | nindent 8 }}
{{- end }}
{{- if .Values.rbac.enabled }}
Expand Down Expand Up @@ -269,7 +269,7 @@ spec:
{{- with $mounts := .Values.pod.extraVolumeMounts }}
{{- toYaml $mounts | nindent 8 }}
{{- end }}
{{- with $context := .Values.pod.securityContext.pod }}
{{- with $context := .Values.pod.securityContext.container }}
securityContext: {{ toYaml $context | nindent 10 }}
{{- end }}
{{- with $pullSecrets := .Values.image.pullSecrets }}
Expand Down

0 comments on commit 4d593ab

Please sign in to comment.