Skip to content

Commit

Permalink
update prefix to csi.storage.k8s.io for metadata keys
Browse files Browse the repository at this point in the history
  • Loading branch information
zetsub0u committed Jan 30, 2020
1 parent e18ad2a commit 43a2937
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/controller/controller.go
Expand Up @@ -102,9 +102,9 @@ const (
nodePublishSecretNamespaceKey = "csiNodePublishSecretNamespace"

// PV and PVC metadata, used for sending to drivers in the create requests, added as parameters, optional.
pvcNameKey = "kubernetes.io/created-for/pvc/name"
pvcNamespaceKey = "kubernetes.io/created-for/pvc/namespace"
pvNameKey = "kubernetes.io/created-for/pv/name"
pvcNameKey = "csi.storage.k8s.io/created-for/pvc/name"
pvcNamespaceKey = "csi.storage.k8s.io/created-for/pvc/namespace"
pvNameKey = "csi.storage.k8s.io/created-for/pv/name"

// Defines parameters for ExponentialBackoff used for executing
// CSI CreateVolume API call, it gives approx 4 minutes for the CSI
Expand Down

0 comments on commit 43a2937

Please sign in to comment.