Skip to content

Commit

Permalink
shubhadapaithankar/ARO-9501-RP-E2E-Test
Browse files Browse the repository at this point in the history
- Added AZURE client ID, secret ID and tenant ID env vars to worker ARO operator template to try to fix image pull auth errors.
  • Loading branch information
kevinobriendotca committed Nov 1, 2024
1 parent deeca9a commit 3d795ef
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion pkg/operator/deploy/staticresources/worker/deployment.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,28 @@ spec:
- worker
image: "{{ .Image }}"
name: aro-operator
{{ if .IsLocalDevelopment}}
env:
- name: AZURE_CLIENT_ID
valueFrom:
secretKeyRef:
name: azure-cloud-credentials
key: azure_client_id
{{ if .UsesWorkloadIdentity }}
- name: AZURE_FEDERATED_TOKEN_FILE
value: "{{ .TokenVolumeMountPath }}"
{{ else }}
- name: AZURE_CLIENT_SECRET
valueFrom:
secretKeyRef:
name: azure-cloud-credentials
key: azure_client_secret
{{ end }}
- name: AZURE_TENANT_ID
valueFrom:
secretKeyRef:
name: azure-cloud-credentials
key: azure_tenant_id
{{ if .IsLocalDevelopment}}
- name: "RP_MODE"
value: "development"
{{ end }}
Expand Down

0 comments on commit 3d795ef

Please sign in to comment.