Add securityContext at component level

This commit is contained in:
2026-03-19 16:40:24 +01:00
parent 1a30049d75
commit 51e4dba5cc
7 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.global.securityContext }}
{{- with (mergeOverwrite (deepCopy .Values.global.securityContext) .Values.api.securityContext) }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
+1 -1
View File
@@ -38,7 +38,7 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.global.securityContext }}
{{- with (mergeOverwrite (deepCopy .Values.global.securityContext) .Values.auth.securityContext) }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
+1 -1
View File
@@ -38,7 +38,7 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.global.securityContext }}
{{- with (mergeOverwrite (deepCopy .Values.global.securityContext) .Values.front.securityContext) }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
+1 -1
View File
@@ -38,7 +38,7 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.global.securityContext }}
{{- with (mergeOverwrite (deepCopy .Values.global.securityContext) .Values.scanner.securityContext) }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
+1 -1
View File
@@ -39,7 +39,7 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.global.securityContext }}
{{- with (mergeOverwrite (deepCopy .Values.global.securityContext) .Values.traefikproxy.securityContext) }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
+1 -1
View File
@@ -48,7 +48,7 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.global.securityContext }}
{{- with (mergeOverwrite (deepCopy .Values.global.securityContext) .Values.transcoder.securityContext) }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
+6
View File
@@ -210,6 +210,7 @@ api:
# default to recreate for better user experience with ReadWriteOnce volumes
updateStrategy:
type: Recreate
securityContext: {}
podLabels: {}
deploymentAnnotations: {}
podAnnotations: {}
@@ -260,6 +261,7 @@ auth:
tag: ~
replicaCount: 1
updateStrategy: ~
securityContext: {}
podLabels: {}
deploymentAnnotations: {}
podAnnotations: {}
@@ -294,6 +296,7 @@ front:
tag: ~
replicaCount: 1
updateStrategy: ~
securityContext: {}
podLabels: {}
deploymentAnnotations: {}
podAnnotations: {}
@@ -335,6 +338,7 @@ scanner:
# scanner does not support multiple replicas
replicaCount: 1
updateStrategy: ~
securityContext: {}
podLabels: {}
deploymentAnnotations: {}
podAnnotations: {}
@@ -395,6 +399,7 @@ transcoder:
# default to recreate for better user experience with ReadWriteOnce volumes & hardware resources
updateStrategy:
type: Recreate
securityContext: {}
podLabels: {}
deploymentAnnotations: {}
podAnnotations: {}
@@ -458,6 +463,7 @@ traefikproxy:
tag: v3.6.10
replicaCount: 1
updateStrategy: ~
securityContext: {}
podLabels: {}
configmapAnnotations: {}
deploymentAnnotations: {}