mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 06:10:22 +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
5f36f7e8bd
commit
f84265fdf5
@ -81,6 +81,7 @@ spec:
|
|||||||
- "--v={{ .Values.sidecarLogLevel }}"
|
- "--v={{ .Values.sidecarLogLevel }}"
|
||||||
- "--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 }}"
|
||||||
|
@ -85,6 +85,7 @@ spec:
|
|||||||
- "--v=1"
|
- "--v=1"
|
||||||
- "--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