-
Notifications
You must be signed in to change notification settings - Fork 404
Closed
Labels
lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.
Description
external-snapshotter supports ${volumesnapshot.annotations['ANNOTATION_KEY']}
as a template for csi.storage.k8s.io/snapshotter-secret-name
. It should not. It is ok for all other secrets (e.g. ListSnapshot secret) but not for the CreateSnapshot secret.
external-snapshotter/pkg/controller/util.go
Lines 216 to 220 in a1b3374
// supported tokens for name resolution: | |
// - ${volumesnapshotcontent.name} | |
// - ${volumesnapshot.namespace} | |
// - ${volumesnapshot.name} | |
// - ${volumesnapshot.annotations['ANNOTATION_KEY']} (e.g. ${pvc.annotations['example.com/snapshot-create-secret-name']}) |
Metadata
Metadata
Assignees
Labels
lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.