From 5e8ebca6486400c1aba55c5f6eac20e0145cfde1 Mon Sep 17 00:00:00 2001 From: Bhaskar_Pandranki Date: Fri, 19 Jul 2024 00:53:48 +0530 Subject: [PATCH] Add securityContext with fsGroup to GeoServer Helm chart --- charts/geoserver/v0.3.3/templates/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/geoserver/v0.3.3/templates/deployment.yaml b/charts/geoserver/v0.3.3/templates/deployment.yaml index efd5cd1..9a8cdbf 100644 --- a/charts/geoserver/v0.3.3/templates/deployment.yaml +++ b/charts/geoserver/v0.3.3/templates/deployment.yaml @@ -37,6 +37,8 @@ spec: {{- (tpl . $) | nindent 8 }} {{- end }} spec: + securityContext: + fsGroup: 1000 containers: - name: {{ template "geoserver.fullname" . }} image: {{ template "geoserver.image" . }}