Skip to content

Commit

Permalink
IDP-1416 Parametrize key vault object name (#61)
Browse files Browse the repository at this point in the history
* Parametrize key vault object name

* Bump chart version
  • Loading branch information
starcraft66 authored May 15, 2024
1 parent 975a1b3 commit 9f20b87
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/aspnetcore/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: aspnetcore
description: A generic Helm chart for ASP.NET Core services
version: 1.0.5
version: 1.0.6
home: https://github.com/gsoft-inc/gsoft-helm-charts
sources:
- https://github.com/gsoft-inc/gsoft-helm-charts
Expand Down
8 changes: 4 additions & 4 deletions charts/aspnetcore/templates/secretproviderclass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ spec:
provider: azure
parameters:
usePodIdentity: "false"
clientID: {{ .Values.azureWorkloadIdentity.clientId }}
keyvaultName: {{ .Values.certificateStore.keyvaultName }}
clientID: {{ quote .Values.azureWorkloadIdentity.clientId }}
keyvaultName: {{ quote .Values.certificateStore.keyvaultName }}
objects: |
array:
- |
objectName: INTERNAL_DNS_CERTIFICATE_NAME
objectName: {{ quote .Values.certificateStore.keyvaultObjectName }}
objectType: cert
tenantId: {{ .Values.certificateStore.tenantId }}
tenantId: {{ quote .Values.certificateStore.tenantId }}
{{- end }}
2 changes: 2 additions & 0 deletions charts/aspnetcore/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ extraVolumeMounts: []
## @param certificateStore.enabled Whether or not to replace the container's certificate store with Workleap's
## @param certificateStore.tenantId The id of the azure tenant the Key Vault containing the certificate store is located in
## @param certificateStore.keyvaultName The name of the Key Vault containing the certificate store
## @param certificateStore.keyvaultObjectName The name of the object in the Key Vault containing the certificate
certificateStore:
enabled: false
tenantId: ""
keyvaultName: ""
keyvaultObjectName: ""

0 comments on commit 9f20b87

Please sign in to comment.