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://github.com/argoproj-labs/argocd-image-updater/manifests/base | ||||||
|   - https://raw.githubusercontent.com/argoproj-labs/argocd-image-updater/stable/manifests/install.yaml |   - https://raw.githubusercontent.com/argoproj-labs/argocd-image-updater/stable/manifests/install.yaml | ||||||
|    |    | ||||||
|  | patchesStrategicMerge: | ||||||
| # patches: |   - argocd-image-updater-config.configmap.yaml | ||||||
| #   - path: ./restic-commands.yaml |  | ||||||
| #     target: |  | ||||||
| #       kind: CronJob |  | ||||||
|  |  | ||||||
|   | |||||||
| @@ -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/image-list: mollre/journal-bot # no version constraints, use newest | ||||||
|     argocd-image-updater.argoproj.io/alias.update-strategy: latest |     argocd-image-updater.argoproj.io/alias.update-strategy: latest | ||||||
|     argocd-image-updater.argoproj.io/git-branch: main |     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 |     argocd-image-updater.argoproj.io/write-back-method: git:secret:argocd/journal-repo | ||||||
|  |  | ||||||
| spec: | spec: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user