diff --git a/charts/conduit/templates/deployment.yaml b/charts/conduit/templates/deployment.yaml index 0e31c47..330f0f8 100644 --- a/charts/conduit/templates/deployment.yaml +++ b/charts/conduit/templates/deployment.yaml @@ -112,10 +112,12 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} volumes: + {{- if .Values.persistence.enabled }} - name: "data" - {{- if .Values.persistence.enabled }} persistentVolumeClaim: claimName: {{ template "conduit.fullname" . }} - {{- else }} - emptyDir: {} - {{- end }} \ No newline at end of file + {{- end }} + {{- if .Values.persistence.enabled }} + securityContext: + fsGroup: 1000 + {{- end }} \ No newline at end of file