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 }} {{- 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:

View File

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

View File

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