- Install argocd-image-updater via Helm (wave 1) - Configure Forgejo registry (anonymous pulls) - Annotate apps for auto-update: api-gw, portfolio, management-service, queue-crd - Uses newest-build strategy for commit SHA tags
34 lines
943 B
YAML
34 lines
943 B
YAML
# ArgoCD Image Updater - auto-updates Application images from registry
|
|
# Watches forgejo.riotpiao.com for new image tags and updates Applications
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: argocd-image-updater
|
|
namespace: argocd
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "1"
|
|
spec:
|
|
project: homelab
|
|
revisionHistoryLimit: 3
|
|
sources:
|
|
- repoURL: https://argoproj.github.io/argo-helm
|
|
chart: argocd-image-updater
|
|
targetRevision: "0.11.2"
|
|
helm:
|
|
valueFiles:
|
|
- $values/k8s/infra/argocd-image-updater/values.yaml
|
|
- repoURL: https://forgejo.riotpiao.com/rock/homelab.git
|
|
targetRevision: main
|
|
ref: values
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: argocd
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=false
|