Add fsgroup so that the conduit group and rocksdb can write to the mounted pv
This commit is contained in:
parent
736ea03631
commit
5da4a0b987
1 changed files with 6 additions and 4 deletions
|
@ -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 }}
|
Loading…
Reference in a new issue