mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
deploy: add --extra-create-metadata arg to csi-snapshotter sidecar
This argument in csi-snapshotter sidecar allows us to receive snapshot-name/snapshot-namespace/snapshotcontent-name metadata in the CreateSnapshot() request. For ex: csi.storage.k8s.io/volumesnapshot/name csi.storage.k8s.io/volumesnapshot/namespace csi.storage.k8s.io/volumesnapshotcontent/name This is a useful information which can be used depend on the use case we have at our driver. The features like adding metadata to snapshot image can consume this based on the need. Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
This commit is contained in:
parent
41fe2c7dda
commit
d870cb152a
@ -102,6 +102,7 @@ spec:
|
|||||||
- "--v={{ .Values.logLevel }}"
|
- "--v={{ .Values.logLevel }}"
|
||||||
- "--timeout={{ .Values.provisioner.timeout }}"
|
- "--timeout={{ .Values.provisioner.timeout }}"
|
||||||
- "--leader-election=true"
|
- "--leader-election=true"
|
||||||
|
- "--extra-create-metadata=true"
|
||||||
env:
|
env:
|
||||||
- name: ADDRESS
|
- name: ADDRESS
|
||||||
value: "unix:///csi/{{ .Values.provisionerSocketFile }}"
|
value: "unix:///csi/{{ .Values.provisionerSocketFile }}"
|
||||||
|
@ -73,6 +73,7 @@ spec:
|
|||||||
- "--v=5"
|
- "--v=5"
|
||||||
- "--timeout=150s"
|
- "--timeout=150s"
|
||||||
- "--leader-election=true"
|
- "--leader-election=true"
|
||||||
|
- "--extra-create-metadata=true"
|
||||||
env:
|
env:
|
||||||
- name: ADDRESS
|
- name: ADDRESS
|
||||||
value: unix:///csi/csi-provisioner.sock
|
value: unix:///csi/csi-provisioner.sock
|
||||||
|
Loading…
Reference in New Issue
Block a user