feat(argo-image-updater): Update to use version 0.12 (#1173)

Signed-off-by: Jan Christoph Beyer <janchristoph.beyer@googlemail.com>

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Jan Christoph Beyer 2022-03-17 20:34:21 +01:00 committed by GitHub
parent 1ff008d64a
commit 48bf6d4a38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 37 additions and 6 deletions

View file

@ -2,8 +2,8 @@ apiVersion: v2
name: argocd-image-updater
description: A Helm chart for Argo CD Image Updater, a tool to automatically update the container images of Kubernetes workloads which are managed by Argo CD
type: application
version: 0.7.0
appVersion: v0.11.3
version: 0.8.0
appVersion: v0.12.0
home: https://github.com/argoproj-labs/argocd-image-updater
icon: https://argocd-image-updater.readthedocs.io/en/stable/assets/logo.png
keywords:
@ -15,4 +15,4 @@ maintainers:
url: https://argoproj.github.io/
annotations:
artifacthub.io/changes: |
- "[Added]: Ability to manage secret containing the ArgoCD API token"
- "[Changed]: Update to argocd-image-updater v0.12"

View file

@ -83,11 +83,12 @@ The `config.registries` value can be used exactly as it looks in the documentati
| config.gitCommitUser | string | `""` | Username to use for Git commits |
| config.logLevel | string | `"info"` | ArgoCD Image Update log level |
| config.registries | list | `[]` | ArgoCD Image Updater registries list configuration. More information [here](https://argocd-image-updater.readthedocs.io/en/stable/configuration/registries/) |
| config.sshConfig | object | `{}` | ArgoCD Image Updater ssh client parameter configuration. |
| extraArgs | list | `[]` | Extra arguments for argocd-image-updater not defined in `config.argocd`. If a flag contains both key and value, they need to be split to a new entry |
| extraEnv | list | `[]` | Extra environment variables for argocd-image-updater |
| fullnameOverride | string | `""` | Global fullname (argocd-image-updater.fullname in _helpers.tpl) override |
| image.pullPolicy | string | `"Always"` | Default image pull policy |
| image.repository | string | `"argoprojlabs/argocd-image-updater"` | Default image repository |
| image.repository | string | `"quay.io/argoprojlabs/argocd-image-updater"` | Default image repository |
| image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion |
| imagePullSecrets | list | `[]` | ImagePullSecrets for the image updater deployment |
| metrics.enabled | bool | `false` | Deploy metrics service |
@ -113,6 +114,7 @@ The `config.registries` value can be used exactly as it looks in the documentati
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created |
| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template |
| tolerations | list | `[]` | Kubernetes toleration settings for the deployment |
| updateStrategy | object | `{"type":"Recreate"}` | The deployment strategy to use to replace existing pods with new ones |
----------------------------------------------
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)

View file

@ -0,0 +1,10 @@
apiVersion: v1
kind: ConfigMap
metadata:
labels:
{{- include "argocd-image-updater.labels" . | nindent 4 }}
name: argocd-image-updater-ssh-config
data:
{{- with .Values.config.sshConfig }}
{{- toYaml . | nindent 2 }}
{{- end }}

View file

@ -9,6 +9,8 @@ spec:
selector:
matchLabels:
{{- include "argocd-image-updater.selectorLabels" . | nindent 6 }}
strategy:
{{- .Values.updateStrategy | toYaml | nindent 4 }}
template:
metadata:
annotations:
@ -28,7 +30,7 @@ spec:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
command:
command:
- /usr/local/bin/argocd-image-updater
- run
{{- with .Values.extraArgs }}
@ -130,6 +132,8 @@ spec:
name: tmp-dir
- mountPath: /app/config/ssh
name: ssh-known-hosts
- mountPath: /app/.ssh
name: ssh-config
{{- if .Values.authScripts.enabled }}
- mountPath: /scripts
name: authscripts
@ -156,6 +160,10 @@ spec:
name: argocd-ssh-known-hosts-cm
optional: true
name: ssh-known-hosts
- configMap:
name: argocd-image-updater-ssh-config
optional: true
name: ssh-config
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}

View file

@ -2,12 +2,15 @@
replicaCount: 1
image:
# -- Default image repository
repository: argoprojlabs/argocd-image-updater
repository: quay.io/argoprojlabs/argocd-image-updater
# -- Default image pull policy
pullPolicy: Always
# -- Overrides the image tag whose default is the chart appVersion
tag: ""
# -- The deployment strategy to use to replace existing pods with new ones
updateStrategy:
type: Recreate
# -- ImagePullSecrets for the image updater deployment
imagePullSecrets: []
# -- Global name (argocd-image-updater.name in _helpers.tpl) override
@ -96,6 +99,14 @@ config:
# credentials: ext:/scripts/auth1.sh
# credsexpire: 10h
# -- ArgoCD Image Updater ssh client parameter configuration.
sshConfig:
{}
# config: |
# Host *
# PubkeyAcceptedAlgorithms +ssh-rsa
# HostkeyAlgorithms +ssh-rsa
# 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: