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:
parent
1ff008d64a
commit
48bf6d4a38
5 changed files with 37 additions and 6 deletions
|
@ -2,8 +2,8 @@ apiVersion: v2
|
||||||
name: argocd-image-updater
|
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
|
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
|
type: application
|
||||||
version: 0.7.0
|
version: 0.8.0
|
||||||
appVersion: v0.11.3
|
appVersion: v0.12.0
|
||||||
home: https://github.com/argoproj-labs/argocd-image-updater
|
home: https://github.com/argoproj-labs/argocd-image-updater
|
||||||
icon: https://argocd-image-updater.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argocd-image-updater.readthedocs.io/en/stable/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -15,4 +15,4 @@ maintainers:
|
||||||
url: https://argoproj.github.io/
|
url: https://argoproj.github.io/
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Added]: Ability to manage secret containing the ArgoCD API token"
|
- "[Changed]: Update to argocd-image-updater v0.12"
|
||||||
|
|
|
@ -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.gitCommitUser | string | `""` | Username to use for Git commits |
|
||||||
| config.logLevel | string | `"info"` | ArgoCD Image Update log level |
|
| 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.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 |
|
| 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 |
|
| extraEnv | list | `[]` | Extra environment variables for argocd-image-updater |
|
||||||
| fullnameOverride | string | `""` | Global fullname (argocd-image-updater.fullname in _helpers.tpl) override |
|
| fullnameOverride | string | `""` | Global fullname (argocd-image-updater.fullname in _helpers.tpl) override |
|
||||||
| image.pullPolicy | string | `"Always"` | Default image pull policy |
|
| 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 |
|
| image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion |
|
||||||
| imagePullSecrets | list | `[]` | ImagePullSecrets for the image updater deployment |
|
| imagePullSecrets | list | `[]` | ImagePullSecrets for the image updater deployment |
|
||||||
| metrics.enabled | bool | `false` | Deploy metrics service |
|
| 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.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 |
|
| 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 |
|
| 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)
|
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)
|
||||||
|
|
|
@ -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 }}
|
|
@ -9,6 +9,8 @@ spec:
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "argocd-image-updater.selectorLabels" . | nindent 6 }}
|
{{- include "argocd-image-updater.selectorLabels" . | nindent 6 }}
|
||||||
|
strategy:
|
||||||
|
{{- .Values.updateStrategy | toYaml | nindent 4 }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
|
@ -28,7 +30,7 @@ spec:
|
||||||
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
{{- toYaml .Values.podSecurityContext | nindent 8 }}
|
||||||
containers:
|
containers:
|
||||||
- name: {{ .Chart.Name }}
|
- name: {{ .Chart.Name }}
|
||||||
command:
|
command:
|
||||||
- /usr/local/bin/argocd-image-updater
|
- /usr/local/bin/argocd-image-updater
|
||||||
- run
|
- run
|
||||||
{{- with .Values.extraArgs }}
|
{{- with .Values.extraArgs }}
|
||||||
|
@ -130,6 +132,8 @@ spec:
|
||||||
name: tmp-dir
|
name: tmp-dir
|
||||||
- mountPath: /app/config/ssh
|
- mountPath: /app/config/ssh
|
||||||
name: ssh-known-hosts
|
name: ssh-known-hosts
|
||||||
|
- mountPath: /app/.ssh
|
||||||
|
name: ssh-config
|
||||||
{{- if .Values.authScripts.enabled }}
|
{{- if .Values.authScripts.enabled }}
|
||||||
- mountPath: /scripts
|
- mountPath: /scripts
|
||||||
name: authscripts
|
name: authscripts
|
||||||
|
@ -156,6 +160,10 @@ spec:
|
||||||
name: argocd-ssh-known-hosts-cm
|
name: argocd-ssh-known-hosts-cm
|
||||||
optional: true
|
optional: true
|
||||||
name: ssh-known-hosts
|
name: ssh-known-hosts
|
||||||
|
- configMap:
|
||||||
|
name: argocd-image-updater-ssh-config
|
||||||
|
optional: true
|
||||||
|
name: ssh-config
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
|
|
@ -2,12 +2,15 @@
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
image:
|
image:
|
||||||
# -- Default image repository
|
# -- Default image repository
|
||||||
repository: argoprojlabs/argocd-image-updater
|
repository: quay.io/argoprojlabs/argocd-image-updater
|
||||||
# -- Default image pull policy
|
# -- Default image pull policy
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
# -- Overrides the image tag whose default is the chart appVersion
|
# -- Overrides the image tag whose default is the chart appVersion
|
||||||
tag: ""
|
tag: ""
|
||||||
|
|
||||||
|
# -- The deployment strategy to use to replace existing pods with new ones
|
||||||
|
updateStrategy:
|
||||||
|
type: Recreate
|
||||||
# -- ImagePullSecrets for the image updater deployment
|
# -- ImagePullSecrets for the image updater deployment
|
||||||
imagePullSecrets: []
|
imagePullSecrets: []
|
||||||
# -- Global name (argocd-image-updater.name in _helpers.tpl) override
|
# -- Global name (argocd-image-updater.name in _helpers.tpl) override
|
||||||
|
@ -96,6 +99,14 @@ config:
|
||||||
# credentials: ext:/scripts/auth1.sh
|
# credentials: ext:/scripts/auth1.sh
|
||||||
# credsexpire: 10h
|
# 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)
|
# 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
|
# refer to https://argocd-image-updater.readthedocs.io/en/stable/configuration/registries/#specifying-credentials-for-accessing-container-registries for more info
|
||||||
authScripts:
|
authScripts:
|
||||||
|
|
Loading…
Reference in a new issue