Explicitly set default fsType to EXT4
This allow Kubernetes to properly changes the volume ownership
and permissions when user specify fsGroup in workload pod
Longhorn-2964
Signed-off-by: phanle1010 <phan.le@suse.com>
(cherry picked from commit f2856cd358
)
This commit is contained in:
parent
83242d336e
commit
d07b05ce29
@ -20,6 +20,9 @@ data:
|
||||
numberOfReplicas: "{{ .Values.persistence.defaultClassReplicaCount }}"
|
||||
staleReplicaTimeout: "30"
|
||||
fromBackup: ""
|
||||
{{- if .Values.persistence.defaultFsType }}
|
||||
fsType: "{{.Values.persistence.defaultFsType}}"
|
||||
{{- end }}
|
||||
{{- if .Values.persistence.backingImage.enable }}
|
||||
backingImage: {{ .Values.persistence.backingImage.name }}
|
||||
backingImageDataSourceType: {{ .Values.persistence.backingImage.dataSourceType }}
|
||||
|
@ -53,6 +53,7 @@ service:
|
||||
|
||||
persistence:
|
||||
defaultClass: true
|
||||
defaultFsType: ext4
|
||||
defaultClassReplicaCount: 3
|
||||
reclaimPolicy: Delete
|
||||
recurringJobSelector:
|
||||
|
Loading…
Reference in New Issue
Block a user