feat: enable ArgoCD Image Updater for portfolio deployment
- Add argocd-image-updater annotations to auto-detect :latest image changes - Updater will poll registry and trigger ArgoCD sync when new build pushed - Deployment pulls latest image on pod restart Enables automatic updates without manual ArgoCD sync
This commit is contained in:
@@ -6,6 +6,9 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: portfolio
|
app.kubernetes.io/name: portfolio
|
||||||
app.kubernetes.io/component: web
|
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:
|
spec:
|
||||||
replicas: 2
|
replicas: 2
|
||||||
selector:
|
selector:
|
||||||
|
|||||||
Reference in New Issue
Block a user