mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
deploy: add option to set default-fstype in provisioner
external-provisioner is exposing a new argument to set the default fstype while starting the provisioner sidecar, if the fstype is not specified in the storageclass the default fstype will be applied for the pvc created from the storageclass. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
7d3bff0654
commit
518ccf42b3
@ -52,6 +52,7 @@ spec:
|
|||||||
- "--timeout={{ .Values.provisioner.timeout }}"
|
- "--timeout={{ .Values.provisioner.timeout }}"
|
||||||
- "--leader-election=true"
|
- "--leader-election=true"
|
||||||
- "--retry-interval-start=500ms"
|
- "--retry-interval-start=500ms"
|
||||||
|
- "--default-fstype={{ .Values.provisioner.defaultFSType }}"
|
||||||
{{- if .Values.topology.enabled }}
|
{{- if .Values.topology.enabled }}
|
||||||
- "--feature-gates=Topology=true"
|
- "--feature-gates=Topology=true"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -110,6 +110,8 @@ nodeplugin:
|
|||||||
provisioner:
|
provisioner:
|
||||||
name: provisioner
|
name: provisioner
|
||||||
replicaCount: 3
|
replicaCount: 3
|
||||||
|
# if fstype is not specified in storageclass, ext4 is default
|
||||||
|
defaultFSType: ext4
|
||||||
# deployController to enable or disable the deployment of controller which
|
# deployController to enable or disable the deployment of controller which
|
||||||
# generates the OMAP data if its not Present.
|
# generates the OMAP data if its not Present.
|
||||||
deployController: true
|
deployController: true
|
||||||
|
@ -51,6 +51,8 @@ spec:
|
|||||||
- "--leader-election=true"
|
- "--leader-election=true"
|
||||||
# set it to true to use topology based provisioning
|
# set it to true to use topology based provisioning
|
||||||
- "--feature-gates=Topology=false"
|
- "--feature-gates=Topology=false"
|
||||||
|
# if fstype is not specified in storageclass, ext4 is default
|
||||||
|
- "--default-fstype=ext4"
|
||||||
env:
|
env:
|
||||||
- name: ADDRESS
|
- name: ADDRESS
|
||||||
value: unix:///csi/csi-provisioner.sock
|
value: unix:///csi/csi-provisioner.sock
|
||||||
|
Loading…
Reference in New Issue
Block a user