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:
Prasanna Kumar Kalever 2022-02-22 11:29:11 +05:30 committed by mergify[bot]
parent caf4090657
commit dc738b96b4
3 changed files with 7 additions and 0 deletions

View File

@ -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:

View File

@ -210,6 +210,9 @@ provisioner:
pullPolicy: IfNotPresent
resources: {}
# set metadata on volume
setmetadata: true
attacher:
name: attacher
enabled: true

View File

@ -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: