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-07-29 10:58:34 +05:30 committed by mergify[bot]
parent 30244bf11b
commit c0a566b5ed
3 changed files with 5 additions and 0 deletions

View File

@ -128,6 +128,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:

View File

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

View File

@ -105,6 +105,7 @@ spec:
- "--drivername=cephfs.csi.ceph.com" - "--drivername=cephfs.csi.ceph.com"
- "--pidlimit=-1" - "--pidlimit=-1"
- "--enableprofiling=false" - "--enableprofiling=false"
- "--setmetadata=true"
env: env:
- name: POD_IP - name: POD_IP
valueFrom: valueFrom: