Skip to content

Commit bab3611

Browse files
committed
fix: add missing defaultMode, shebang and azurecr.io suffix in ACR_NAME
1 parent 92459cd commit bab3611

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/configuration/registries.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,8 @@ metadata:
344344
name: argocd-image-updater-auth
345345
data:
346346
auth.sh: |
347+
#!/bin/sh
348+
347349
AAD_ACCESS_TOKEN=$(cat $AZURE_FEDERATED_TOKEN_FILE)
348350
349351
ACCESS_TOKEN=$(wget --output-document - --header "Content-Type: application/x-www-form-urlencoded" \
@@ -408,14 +410,20 @@ spec:
408410
spec:
409411
containers:
410412
- name: argocd-image-updater
413+
command:
414+
- /usr/local/bin/argocd-image-updater
415+
- run
416+
- --registries-conf-path
417+
- /app/config/registries.conf
411418
env:
412419
- name: ACR_NAME
413-
value: placeholder
420+
value: placeholder.azurecr.io
414421
volumeMounts:
415422
- mountPath: /app/auth
416423
name: auth
417424
volumes:
418425
- configMap:
419426
name: argocd-image-updater-auth
427+
defaultMode: 493
420428
name: auth
421429
```

0 commit comments

Comments
 (0)