diff --git a/cmd/secrets-store-csi-driver/main.go b/cmd/secrets-store-csi-driver/main.go index 0774bcf10..0a385e317 100644 --- a/cmd/secrets-store-csi-driver/main.go +++ b/cmd/secrets-store-csi-driver/main.go @@ -62,13 +62,12 @@ var ( // https://github.com/kubernetes-sigs/secrets-store-csi-driver/issues/823. // The default should be moved to /var/ in https://github.com/kubernetes-sigs/secrets-store-csi-driver/issues/870 additionalProviderPaths = flag.String("additional-provider-volume-paths", "/var/run/secrets-store-csi-providers", "Comma separated list of additional paths to communicate with providers") - // this will be removed in a future release - metricsAddr = flag.String("metrics-addr", ":8095", "The address the metric endpoint binds to") - enableSecretRotation = flag.Bool("enable-secret-rotation", false, "Enable secret rotation feature [alpha]") - rotationPollInterval = flag.Duration("rotation-poll-interval", 2*time.Minute, "Secret rotation poll interval duration") - enableProfile = flag.Bool("enable-pprof", false, "enable pprof profiling") - profilePort = flag.Int("pprof-port", 6065, "port for pprof profiling") - maxCallRecvMsgSize = flag.Int("max-call-recv-msg-size", 1024*1024*4, "maximum size in bytes of gRPC response from plugins") + metricsAddr = flag.String("metrics-addr", ":8095", "The address the metric endpoint binds to") + enableSecretRotation = flag.Bool("enable-secret-rotation", false, "Enable secret rotation feature [alpha]") + rotationPollInterval = flag.Duration("rotation-poll-interval", 2*time.Minute, "Secret rotation poll interval duration") + enableProfile = flag.Bool("enable-pprof", false, "enable pprof profiling") + profilePort = flag.Int("pprof-port", 6065, "port for pprof profiling") + maxCallRecvMsgSize = flag.Int("max-call-recv-msg-size", 1024*1024*4, "maximum size in bytes of gRPC response from plugins") // Enable optional healthcheck for provider clients that exist in memory providerHealthCheck = flag.Bool("provider-health-check", false, "Enable health check for configured providers") diff --git a/manifest_staging/charts/secrets-store-csi-driver/templates/secrets-store-csi-driver-windows.yaml b/manifest_staging/charts/secrets-store-csi-driver/templates/secrets-store-csi-driver-windows.yaml index 1c60a7010..a6bc7895a 100644 --- a/manifest_staging/charts/secrets-store-csi-driver/templates/secrets-store-csi-driver-windows.yaml +++ b/manifest_staging/charts/secrets-store-csi-driver/templates/secrets-store-csi-driver-windows.yaml @@ -78,9 +78,6 @@ spec: - "--nodeid=$(KUBE_NODE_NAME)" - "--provider-volume={{ .Values.windows.providersDir }}" - "--additional-provider-volume-paths={{ join "," .Values.windows.additionalProvidersDirs }}" - {{- if and (semverCompare ">= v0.0.9-0" .Values.windows.image.tag) .Values.minimumProviderVersions }} - - "--min-provider-version={{ .Values.minimumProviderVersions }}" - {{- end }} {{- if and (semverCompare ">= v0.0.15-0" .Values.windows.image.tag) .Values.enableSecretRotation }} - "--enable-secret-rotation={{ .Values.enableSecretRotation }}" {{- end }} diff --git a/manifest_staging/charts/secrets-store-csi-driver/templates/secrets-store-csi-driver.yaml b/manifest_staging/charts/secrets-store-csi-driver/templates/secrets-store-csi-driver.yaml index 780a7e56f..11c80b485 100644 --- a/manifest_staging/charts/secrets-store-csi-driver/templates/secrets-store-csi-driver.yaml +++ b/manifest_staging/charts/secrets-store-csi-driver/templates/secrets-store-csi-driver.yaml @@ -78,9 +78,6 @@ spec: - "--nodeid=$(KUBE_NODE_NAME)" - "--provider-volume={{ .Values.linux.providersDir }}" - "--additional-provider-volume-paths={{ join "," .Values.linux.additionalProvidersDirs }}" - {{- if and (semverCompare ">= v0.0.8-0" .Values.linux.image.tag) .Values.minimumProviderVersions }} - - "--min-provider-version={{ .Values.minimumProviderVersions }}" - {{- end }} {{- if and (semverCompare ">= v0.0.15-0" .Values.linux.image.tag) .Values.enableSecretRotation }} - "--enable-secret-rotation={{ .Values.enableSecretRotation }}" {{- end }}