set cms application argo image updater strategy

This commit is contained in:
2025-10-09 16:12:31 +02:00
parent fa5bc7e30e
commit 83410d9eb1
2 changed files with 17 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
{{- range $app_name := .Values.gitea_applications -}} {{- range $app_name, $app_attr := .Values.gitea_applications -}}
--- ---
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
@@ -7,6 +7,10 @@ metadata:
namespace: argocd namespace: argocd
finalizers: finalizers:
- resources-finalizer.argocd.argoproj.io - resources-finalizer.argocd.argoproj.io
{{- with $app_attr.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec: spec:
project: default project: default
source: source:

View File

@@ -2,11 +2,18 @@
# This is a YAML-formatted file. # This is a YAML-formatted file.
# Declare variables to be passed into your templates. # Declare variables to be passed into your templates.
gitea_applications: gitea_applications:
- url-shortener url-shortener:
- tools annotations: {}
- webapp tools:
- erp annotations: {}
- cms webapp:
annotations: {}
erp:
annotations: {}
cms:
annotations:
argocd-image-updater.argoproj.io/image-list: cms=gitea.arcodange.duckdns.org/arcodange-org/cms:latest
argocd-image-updater.argoproj.io/cms.update-strategy: digest
argocd_image_updater_chart_values: argocd_image_updater_chart_values:
config: config: