set cms application argo image updater strategy
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{{- range $app_name := .Values.gitea_applications -}}
|
||||
{{- range $app_name, $app_attr := .Values.gitea_applications -}}
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
@@ -7,6 +7,10 @@ metadata:
|
||||
namespace: argocd
|
||||
finalizers:
|
||||
- resources-finalizer.argocd.argoproj.io
|
||||
{{- with $app_attr.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
|
||||
@@ -2,11 +2,18 @@
|
||||
# This is a YAML-formatted file.
|
||||
# Declare variables to be passed into your templates.
|
||||
gitea_applications:
|
||||
- url-shortener
|
||||
- tools
|
||||
- webapp
|
||||
- erp
|
||||
- cms
|
||||
url-shortener:
|
||||
annotations: {}
|
||||
tools:
|
||||
annotations: {}
|
||||
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:
|
||||
config:
|
||||
|
||||
Reference in New Issue
Block a user