feat(argocd-image-updater): Add ability to mount authentication scripts (#987)

This commit is contained in:
Niels ten Boom 2021-11-15 23:19:03 +00:00 committed by GitHub
parent 12e25a37f9
commit 3e8463d1c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 46 additions and 3 deletions

View file

@ -71,6 +71,27 @@ config:
# ping: no
# prefix: quay.io
# credentials: env:REGISTRY_SECRET
# - name: ECR
# api_url: https://123456789.dkr.ecr.eu-west-1.amazonaws.com
# prefix: 123456789.dkr.ecr.eu-west-1.amazonaws.com
# ping: yes
# insecure: no
# credentials: ext:/scripts/auth1.sh
# credsexpire: 10h
# whether to mount authentication scripts, if enabled, the authentication scripts will be mounted on /scripts that can be used to authenticate with registries (ECR)
# refer to https://argocd-image-updater.readthedocs.io/en/stable/configuration/registries/#specifying-credentials-for-accessing-container-registries for more info
authScripts:
# -- Whether to mount the defined scripts that can be used to authenticate with a registry, the scripts will be mounted at `/scripts`
enabled: false
# -- Map of key-value pairs where the key consists of the name of the script and the value the contents
scripts: {}
# auth1.sh: |
# #!/bin/sh
# echo "auth script 1 here"
# auth2.sh: |
# #!/bin/sh
# echo "auth script 2 here"
serviceAccount:
# -- Specifies whether a service account should be created