Skip to content
Snippets Groups Projects
Commit eff6622c authored by michael.koch's avatar michael.koch
Browse files

Changed: Helm: Make security context configuration overwritable

parent 644c6bd4
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.24.0
version: 2.24.1
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
......@@ -24,5 +24,5 @@ version: 2.24.0
appVersion: "8.24.0"
dependencies:
- name: ox-common
version: ~1.0.33
version: ~1.0.38
repository: "oci://registry.open-xchange.com/appsuite-core-internal/charts"
......@@ -17,7 +17,7 @@ spec:
spec: {{ include "ox-common.pods.podSpec" (dict "podRoot" .Values "global" $ "context" . ) | nindent 6 }}
containers:
- name: main
securityContext: {{ toYaml .Values.securityContext | nindent 12 }}
{{- include "ox-common.containers.securityContext" (dict "podRoot" .Values "context" . "global" $) | nindent 10 }}
image: {{ include "ox-common.images.image" (dict "imageRoot" .Values.image "global" $ "context" . ) }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
......
......@@ -18,12 +18,16 @@ fullnameOverride: ""
podAnnotations: {}
podSecurityContext:
podSecurityContext: {}
defaultPodSecurityContext:
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 1000
securityContext:
securityContext: {}
defaultSecurityContext:
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 1000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment