diff --git a/infra/portfolio/base/deployment.yaml b/infra/portfolio/base/deployment.yaml index bc86b5f..bca34cf 100644 --- a/infra/portfolio/base/deployment.yaml +++ b/infra/portfolio/base/deployment.yaml @@ -6,6 +6,9 @@ metadata: labels: app.kubernetes.io/name: portfolio app.kubernetes.io/component: web + annotations: + argocd-image-updater.argoproj.io/image-list: portfolio=forgejo.riotpiao.com/rock/portfolio + argocd-image-updater.argoproj.io/portfolio.update-strategy: latest spec: replicas: 2 selector: diff --git a/infra/portfolio/base/kustomization.yaml b/infra/portfolio/base/kustomization.yaml index 7b1cf24..cc9dc18 100644 --- a/infra/portfolio/base/kustomization.yaml +++ b/infra/portfolio/base/kustomization.yaml @@ -8,6 +8,10 @@ resources: - service.yaml - ingress.yaml -# Decrypt secrets via SOPS before applying -sops: - version: 3 +# ArgoCD Image Updater configuration - for tag updates +images: +- name: forgejo.riotpiao.com/rock/portfolio + newTag: latest + +# Note: SOPS decryption is handled by ArgoCD repo-server plugin, +# not via kustomization.yaml, to allow Image Updater to parse this file