Add fsgroup so that the conduit group and rocksdb can write to the mounted pv

This commit is contained in:
Tommy 2023-10-29 15:19:11 +01:00
parent 736ea03631
commit 5da4a0b987

View file

@ -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 }}
{{- end }}
{{- if .Values.persistence.enabled }}
securityContext:
fsGroup: 1000
{{- end }}