Skip to content

Commit

Permalink
Updating helm deployments to resolve managed identity issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hatboyzero committed Jan 18, 2024
1 parent e6bb7fe commit 57a8cda
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions deploy/gvalues.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ azureWorkloadIdentity:
coreJobClientId: {{coreJobMiClientId}}
dataSourceHubApiClientId: {{dataSourceHubApiMiClientId}}
gatekeeperApiClientId: {{gatekeeperApiMiClientId}}
gatekeeperIntegrationApiMiClientId: {{gatekeeperIntegrationApiMiClientId}}
gatekeeperIntegrationApiClientId: {{gatekeeperIntegrationApiMiClientId}}
langChainApiClientId: {{langChainApiMiClientId}}
promptHubApiClientId: {{promptHubApiMiClientId}}
semanticKernelApiClientId: {{semanticKernelApiMiClientId}}
vectorizationApiMiClientId: {{vectorizationApiMiClientId}}
vectorizationJobMiClientId: {{vectorizationJobMiClientId}}
vectorizationApiClientId: {{vectorizationApiMiClientId}}
vectorizationJobClientId: {{vectorizationJobMiClientId}}
tenantId: {{tenantId}}

ingress:
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/vectorization-job/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
data:
AZURE_CLIENT_ID: {{ .Values.azureWorkloadIdentity.vectorizationApiClientId }}
AZURE_CLIENT_ID: {{ .Values.azureWorkloadIdentity.vectorizationJobClientId }}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kind: ServiceAccount
metadata:
name: {{ .Values.serviceAccountName }}
annotations:
azure.workload.identity/client-id: {{ .Values.azureWorkloadIdentity.vectorizationApiClientId }}
azure.workload.identity/client-id: {{ .Values.azureWorkloadIdentity.vectorizationJobClientId }}
azure.workload.identity/tenant-id: {{ .Values.azureWorkloadIdentity.tenantId }}
labels:
azure.workload.identity/use: "true"

0 comments on commit 57a8cda

Please sign in to comment.