Skip to content

Commit

Permalink
fix: add missing defaultMode, shebang and azurecr.io suffix in ACR_NAME
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennetremel committed Apr 25, 2024
1 parent 92459cd commit bab3611
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/configuration/registries.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,8 @@ metadata:
name: argocd-image-updater-auth
data:
auth.sh: |
#!/bin/sh
AAD_ACCESS_TOKEN=$(cat $AZURE_FEDERATED_TOKEN_FILE)
ACCESS_TOKEN=$(wget --output-document - --header "Content-Type: application/x-www-form-urlencoded" \
Expand Down Expand Up @@ -408,14 +410,20 @@ spec:
spec:
containers:
- name: argocd-image-updater
command:
- /usr/local/bin/argocd-image-updater
- run
- --registries-conf-path
- /app/config/registries.conf
env:
- name: ACR_NAME
value: placeholder
value: placeholder.azurecr.io
volumeMounts:
- mountPath: /app/auth
name: auth
volumes:
- configMap:
name: argocd-image-updater-auth
defaultMode: 493
name: auth
```

0 comments on commit bab3611

Please sign in to comment.