Skip to content

Commit

Permalink
chore: remove deprecated minimumProviderVersions in helm chart
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
  • Loading branch information
aramase committed Mar 17, 2022
1 parent 7705c1a commit 1ec0f8b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
13 changes: 6 additions & 7 deletions cmd/secrets-store-csi-driver/main.go
Expand Up @@ -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")
Expand Down
Expand Up @@ -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 }}
Expand Down
Expand Up @@ -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 }}
Expand Down

0 comments on commit 1ec0f8b

Please sign in to comment.