Skip to content

Commit

Permalink
add option to set --grpc-supported-providers in helm charts
Browse files Browse the repository at this point in the history
  • Loading branch information
aramase committed Sep 14, 2020
1 parent a0b4107 commit cb0792f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifest_staging/charts/secrets-store-csi-driver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,4 @@ The following table lists the configurable parameters of the csi-secrets-store-p
| `rbac.install` | Install default rbac roles and bindings | true |
| `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 |
| `minimumProviderVersions` | A comma delimited list of key-value pairs of minimum provider versions with driver | `""` |
| `grpcSupportedProviders` | A `;` delimited list of providers that support grpc for driver-provider [alpha] | `""` |
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ spec:
{{- if and (semverCompare ">= v0.0.9-0" .Values.windows.image.tag) .Values.minimumProviderVersions }}
- "--min-provider-version={{ .Values.minimumProviderVersions }}"
{{- end }}
{{- if and (semverCompare ">= v0.0.14-0" .Values.linux.image.tag) .Values.grpcSupportedProviders }}
- "--grpc-supported-providers={{ .Values.grpcSupportedProviders }}"
{{- end }}
- "--metrics-addr={{ .Values.windows.metricsAddr }}"
env:
{{- with .Values.windows.env }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ spec:
{{- if and (semverCompare ">= v0.0.8-0" .Values.linux.image.tag) .Values.minimumProviderVersions }}
- "--min-provider-version={{ .Values.minimumProviderVersions }}"
{{- end }}
{{- if and (semverCompare ">= v0.0.14-0" .Values.linux.image.tag) .Values.grpcSupportedProviders }}
- "--grpc-supported-providers={{ .Values.grpcSupportedProviders }}"
{{- end }}
- "--metrics-addr={{ .Values.linux.metricsAddr }}"
env:
{{- with .Values.linux.env }}
Expand Down
3 changes: 3 additions & 0 deletions manifest_staging/charts/secrets-store-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,6 @@ syncSecret:
## A comma delimited list of key-value pairs of minimum provider versions
## e.g. provider1=0.0.2,provider2=0.0.3
minimumProviderVersions:

## ; delimited list of providers that support grpc for driver-provider [alpha]
grpcSupportedProviders:

0 comments on commit cb0792f

Please sign in to comment.