mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +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 }}
|
{{- if .Values.provisioner.clustername }}
|
||||||
- "--clustername={{ .Values.provisioner.clustername }}"
|
- "--clustername={{ .Values.provisioner.clustername }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
- "--setmetadata={{ .Values.provisioner.setmetadata }}"
|
||||||
env:
|
env:
|
||||||
- name: POD_IP
|
- name: POD_IP
|
||||||
valueFrom:
|
valueFrom:
|
||||||
@ -205,6 +206,7 @@ spec:
|
|||||||
{{- if .Values.provisioner.clustername }}
|
{{- if .Values.provisioner.clustername }}
|
||||||
- "--clustername={{ .Values.provisioner.clustername }}"
|
- "--clustername={{ .Values.provisioner.clustername }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
- "--setmetadata={{ .Values.provisioner.setmetadata }}"
|
||||||
env:
|
env:
|
||||||
- name: DRIVER_NAMESPACE
|
- name: DRIVER_NAMESPACE
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
@ -210,6 +210,9 @@ provisioner:
|
|||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
resources: {}
|
resources: {}
|
||||||
|
|
||||||
|
# set metadata on volume
|
||||||
|
setmetadata: true
|
||||||
|
|
||||||
attacher:
|
attacher:
|
||||||
name: attacher
|
name: attacher
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -131,6 +131,7 @@ spec:
|
|||||||
- "--rbdhardmaxclonedepth=8"
|
- "--rbdhardmaxclonedepth=8"
|
||||||
- "--rbdsoftmaxclonedepth=4"
|
- "--rbdsoftmaxclonedepth=4"
|
||||||
- "--enableprofiling=false"
|
- "--enableprofiling=false"
|
||||||
|
- "--setmetadata=true"
|
||||||
env:
|
env:
|
||||||
- name: POD_IP
|
- name: POD_IP
|
||||||
valueFrom:
|
valueFrom:
|
||||||
@ -180,6 +181,7 @@ spec:
|
|||||||
- "--v=5"
|
- "--v=5"
|
||||||
- "--drivername=rbd.csi.ceph.com"
|
- "--drivername=rbd.csi.ceph.com"
|
||||||
- "--drivernamespace=$(DRIVER_NAMESPACE)"
|
- "--drivernamespace=$(DRIVER_NAMESPACE)"
|
||||||
|
- "--setmetadata=true"
|
||||||
env:
|
env:
|
||||||
- name: DRIVER_NAMESPACE
|
- name: DRIVER_NAMESPACE
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
Loading…
Reference in New Issue
Block a user