mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
deploy: add setmetadata=true in the templates
setmetadata on the volume by default, otherwise e2e will fail Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
This commit is contained in:
parent
caf4090657
commit
dc738b96b4
@ -155,6 +155,7 @@ spec:
|
||||
{{- if .Values.provisioner.clustername }}
|
||||
- "--clustername={{ .Values.provisioner.clustername }}"
|
||||
{{- end }}
|
||||
- "--setmetadata={{ .Values.provisioner.setmetadata }}"
|
||||
env:
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
@ -205,6 +206,7 @@ spec:
|
||||
{{- if .Values.provisioner.clustername }}
|
||||
- "--clustername={{ .Values.provisioner.clustername }}"
|
||||
{{- end }}
|
||||
- "--setmetadata={{ .Values.provisioner.setmetadata }}"
|
||||
env:
|
||||
- name: DRIVER_NAMESPACE
|
||||
valueFrom:
|
||||
|
@ -210,6 +210,9 @@ provisioner:
|
||||
pullPolicy: IfNotPresent
|
||||
resources: {}
|
||||
|
||||
# set metadata on volume
|
||||
setmetadata: true
|
||||
|
||||
attacher:
|
||||
name: attacher
|
||||
enabled: true
|
||||
|
@ -131,6 +131,7 @@ spec:
|
||||
- "--rbdhardmaxclonedepth=8"
|
||||
- "--rbdsoftmaxclonedepth=4"
|
||||
- "--enableprofiling=false"
|
||||
- "--setmetadata=true"
|
||||
env:
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
@ -180,6 +181,7 @@ spec:
|
||||
- "--v=5"
|
||||
- "--drivername=rbd.csi.ceph.com"
|
||||
- "--drivernamespace=$(DRIVER_NAMESPACE)"
|
||||
- "--setmetadata=true"
|
||||
env:
|
||||
- name: DRIVER_NAMESPACE
|
||||
valueFrom:
|
||||
|
Loading…
Reference in New Issue
Block a user