From af08d8bceb3f677389bafabb7f73bd0671aa0c29 Mon Sep 17 00:00:00 2001 From: hoyho Date: Fri, 26 Apr 2024 13:00:14 +0800 Subject: [PATCH] update PVC annotations secret supported in external-provisioner Signed-off-by: hoyho --- book/src/secrets-and-credentials-storage-class.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/book/src/secrets-and-credentials-storage-class.md b/book/src/secrets-and-credentials-storage-class.md index 7212aa79..8148cd3c 100644 --- a/book/src/secrets-and-credentials-storage-class.md +++ b/book/src/secrets-and-credentials-storage-class.md @@ -112,6 +112,9 @@ The values of these parameters may be "templates". The `external-provisioner` wi * `${pvc.name}` * Replaced with the name of the `PersistentVolumeClaim` object that triggered provisioning. * Support added in CSI `external-provisioner` v1.2.0+ + * `${pvc.annotations['']}` (e.g. `${pvc.annotations['example.com/key']}`) + * Replaced with the value of the specified annotation from the `PersistentVolumeClaim` object that triggered provisioning + * Support added in CSI `external-provisioner` v4.0.2+ * `csi.storage.k8s.io/provisioner-secret-namespace` * `${pv.name}` * Replaced with name of the `PersistentVolume` object being provisioned.