Skip to content

Commit cb0792f

Browse files
committed
add option to set --grpc-supported-providers in helm charts
1 parent a0b4107 commit cb0792f

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

manifest_staging/charts/secrets-store-csi-driver/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,4 @@ The following table lists the configurable parameters of the csi-secrets-store-p
6565
| `rbac.install` | Install default rbac roles and bindings | true |
6666
| `syncSecret.enabled` | Enable rbac roles and bindings required for syncing to Kubernetes native secrets (the default will change to false after v0.0.14) | true |
6767
| `minimumProviderVersions` | A comma delimited list of key-value pairs of minimum provider versions with driver | `""` |
68+
| `grpcSupportedProviders` | A `;` delimited list of providers that support grpc for driver-provider [alpha] | `""` |

manifest_staging/charts/secrets-store-csi-driver/templates/secrets-store-csi-driver-windows.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ spec:
5656
{{- if and (semverCompare ">= v0.0.9-0" .Values.windows.image.tag) .Values.minimumProviderVersions }}
5757
- "--min-provider-version={{ .Values.minimumProviderVersions }}"
5858
{{- end }}
59+
{{- if and (semverCompare ">= v0.0.14-0" .Values.linux.image.tag) .Values.grpcSupportedProviders }}
60+
- "--grpc-supported-providers={{ .Values.grpcSupportedProviders }}"
61+
{{- end }}
5962
- "--metrics-addr={{ .Values.windows.metricsAddr }}"
6063
env:
6164
{{- with .Values.windows.env }}

manifest_staging/charts/secrets-store-csi-driver/templates/secrets-store-csi-driver.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ spec:
5858
{{- if and (semverCompare ">= v0.0.8-0" .Values.linux.image.tag) .Values.minimumProviderVersions }}
5959
- "--min-provider-version={{ .Values.minimumProviderVersions }}"
6060
{{- end }}
61+
{{- if and (semverCompare ">= v0.0.14-0" .Values.linux.image.tag) .Values.grpcSupportedProviders }}
62+
- "--grpc-supported-providers={{ .Values.grpcSupportedProviders }}"
63+
{{- end }}
6164
- "--metrics-addr={{ .Values.linux.metricsAddr }}"
6265
env:
6366
{{- with .Values.linux.env }}

manifest_staging/charts/secrets-store-csi-driver/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,6 @@ syncSecret:
118118
## A comma delimited list of key-value pairs of minimum provider versions
119119
## e.g. provider1=0.0.2,provider2=0.0.3
120120
minimumProviderVersions:
121+
122+
## ; delimited list of providers that support grpc for driver-provider [alpha]
123+
grpcSupportedProviders:

0 commit comments

Comments
 (0)