File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -344,6 +344,8 @@ metadata:
344
344
name: argocd-image-updater-auth
345
345
data:
346
346
auth.sh: |
347
+ #!/bin/sh
348
+
347
349
AAD_ACCESS_TOKEN=$(cat $AZURE_FEDERATED_TOKEN_FILE)
348
350
349
351
ACCESS_TOKEN=$(wget --output-document - --header "Content-Type: application/x-www-form-urlencoded" \
@@ -408,14 +410,20 @@ spec:
408
410
spec:
409
411
containers:
410
412
- name: argocd-image-updater
413
+ command:
414
+ - /usr/local/bin/argocd-image-updater
415
+ - run
416
+ - --registries-conf-path
417
+ - /app/config/registries.conf
411
418
env:
412
419
- name: ACR_NAME
413
- value: placeholder
420
+ value: placeholder.azurecr.io
414
421
volumeMounts:
415
422
- mountPath: /app/auth
416
423
name: auth
417
424
volumes:
418
425
- configMap:
419
426
name: argocd-image-updater-auth
427
+ defaultMode: 493
420
428
name: auth
421
429
` ` `
You can’t perform that action at this time.
0 commit comments