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 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
volumes: volumes:
{{- if .Values.persistence.enabled }}
- name: "data" - name: "data"
{{- if .Values.persistence.enabled }}
persistentVolumeClaim: persistentVolumeClaim:
claimName: {{ template "conduit.fullname" . }} claimName: {{ template "conduit.fullname" . }}
{{- else }} {{- end }}
emptyDir: {} {{- if .Values.persistence.enabled }}
{{- end }} securityContext:
fsGroup: 1000
{{- end }}