You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
profilePort=flag.Int("pprof-port", 6065, "port for pprof profiling")
65
64
66
-
// enable filtered watch for secrets. The filtering is done on the csi driver label: secrets-store.csi.k8s.io/managed=true
67
-
// this label is set for all Kubernetes secrets created by the CSI driver. For Kubernetes secrets used to provide credentials
68
-
// for use with the CSI driver, set the label by running: kubectl label secret secrets-store-creds secrets-store.csi.k8s.io/managed=true
65
+
// enable filtered watch for NodePublishSecretRef secrets. The filtering is done on the csi driver label: secrets-store.csi.k8s.io/used=true
66
+
// For Kubernetes secrets used to provide credentials for use with the CSI driver, set the label by running: kubectl label secret secrets-store-creds secrets-store.csi.k8s.io/used=true
69
67
// This feature flag will be enabled by default after n+2 releases giving time for users to label all their existing credential secrets.
70
-
filteredWatchSecret=flag.Bool("filtered-watch-secret", false, "enable filtered watch for secrets with label secrets-store.csi.k8s.io/managed=true")
68
+
filteredWatchSecret=flag.Bool("filtered-watch-secret", false, "enable filtered watch for NodePublishSecretRef secrets with label secrets-store.csi.k8s.io/used=true")
71
69
72
70
scheme=runtime.NewScheme()
73
71
)
@@ -98,7 +96,7 @@ func main() {
98
96
}()
99
97
}
100
98
if*filteredWatchSecret {
101
-
klog.Infof("Filtered watch for secret based on secrets-store.csi.k8s.io/managed=true label enabled")
99
+
klog.Infof("Filtered watch for nodePublishSecretRef secret based on secrets-store.csi.k8s.io/used=true label enabled")
102
100
}
103
101
104
102
// initialize metrics exporter before creating measurements
0 commit comments