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 ...@@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # 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. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # 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 # 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 # incremented each time you make changes to the application. Versions are not expected to
...@@ -24,5 +24,5 @@ version: 2.24.0 ...@@ -24,5 +24,5 @@ version: 2.24.0
appVersion: "8.24.0" appVersion: "8.24.0"
dependencies: dependencies:
- name: ox-common - name: ox-common
version: ~1.0.33 version: ~1.0.38
repository: "oci://registry.open-xchange.com/appsuite-core-internal/charts" repository: "oci://registry.open-xchange.com/appsuite-core-internal/charts"
...@@ -17,7 +17,7 @@ spec: ...@@ -17,7 +17,7 @@ spec:
spec: {{ include "ox-common.pods.podSpec" (dict "podRoot" .Values "global" $ "context" . ) | nindent 6 }} spec: {{ include "ox-common.pods.podSpec" (dict "podRoot" .Values "global" $ "context" . ) | nindent 6 }}
containers: containers:
- name: main - 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" . ) }} image: {{ include "ox-common.images.image" (dict "imageRoot" .Values.image "global" $ "context" . ) }}
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
ports: ports:
......
...@@ -18,12 +18,16 @@ fullnameOverride: "" ...@@ -18,12 +18,16 @@ fullnameOverride: ""
podAnnotations: {} podAnnotations: {}
podSecurityContext: podSecurityContext: {}
defaultPodSecurityContext:
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
runAsGroup: 1000 runAsGroup: 1000
securityContext: securityContext: {}
defaultSecurityContext:
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
runAsGroup: 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