update imageupdate config to not rebuild whole apps
This commit is contained in:
		| @@ -0,0 +1,12 @@ | ||||
| apiVersion: v1 | ||||
| kind: ConfigMap | ||||
| metadata: | ||||
|   name: argocd-image-updater-config | ||||
|  | ||||
| data: | ||||
|   git.commit-message-template: | | ||||
|     [CI SKIP] automatic update of {{ .AppName }} | ||||
|  | ||||
|     {{ range .AppChanges -}} | ||||
|     updates image {{ .Image }} tag '{{ .OldTag }}' to '{{ .NewTag }}' | ||||
|     {{ end -}} | ||||
| @@ -8,9 +8,6 @@ resources: | ||||
|   # - https://github.com/argoproj-labs/argocd-image-updater/manifests/base | ||||
|   - https://raw.githubusercontent.com/argoproj-labs/argocd-image-updater/stable/manifests/install.yaml | ||||
|    | ||||
|  | ||||
| # patches: | ||||
| #   - path: ./restic-commands.yaml | ||||
| #     target: | ||||
| #       kind: CronJob | ||||
| patchesStrategicMerge: | ||||
|   - argocd-image-updater-config.configmap.yaml | ||||
|  | ||||
|   | ||||
| @@ -7,6 +7,7 @@ metadata: | ||||
|     argocd-image-updater.argoproj.io/image-list: mollre/journal-bot # no version constraints, use newest | ||||
|     argocd-image-updater.argoproj.io/alias.update-strategy: latest | ||||
|     argocd-image-updater.argoproj.io/git-branch: main | ||||
|     argocd-image-updater.argoproj.io/write-back-target: kustomization:/deployment/ | ||||
|     argocd-image-updater.argoproj.io/write-back-method: git:secret:argocd/journal-repo | ||||
|  | ||||
| spec: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user