From d625edfd6e882be712366c1c8ec0557f18d9d710 Mon Sep 17 00:00:00 2001 From: lmq1999 Date: Mon, 30 Aug 2021 16:52:27 +0700 Subject: [PATCH] Add flag to collect pvc name and pvc namespace --- examples/pvc.yml | 2 +- manifest/plugin/csi-bizflycloud-controllerplugin.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/pvc.yml b/examples/pvc.yml index 8c7abbf..250a0e6 100644 --- a/examples/pvc.yml +++ b/examples/pvc.yml @@ -9,4 +9,4 @@ spec: resources: requests: storage: 50Gi - storageClassName: premium-hdd + storageClassName: premium-hdd \ No newline at end of file diff --git a/manifest/plugin/csi-bizflycloud-controllerplugin.yaml b/manifest/plugin/csi-bizflycloud-controllerplugin.yaml index f628928..99e0735 100644 --- a/manifest/plugin/csi-bizflycloud-controllerplugin.yaml +++ b/manifest/plugin/csi-bizflycloud-controllerplugin.yaml @@ -41,6 +41,7 @@ spec: - "--csi-address=/var/lib/csi/sockets/pluginproxy/csi.sock" - "--timeout=3m" - "--feature-gates=Topology=true" + - "--extra-create-metadata=True" volumeMounts: - name: socket-dir mountPath: /var/lib/csi/sockets/pluginproxy/