mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-06-08 05:51:01 +00:00
Add securityContext at component level
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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: {}
|
||||
|
||||
Reference in New Issue
Block a user