Files
argo-image-updater/manifests/nginx-demo/deployment.yaml

24 lines
543 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-demo
annotations:
# 👇 These lines tell Argo CD Image Updater what to watch and how to update
argocd-image-updater.argoproj.io/image-list: nginx=nginx
argocd-image-updater.argoproj.io/nginx.update-strategy: latest
spec:
replicas: 1
selector:
matchLabels:
app: nginx-demo
template:
metadata:
labels:
app: nginx-demo
spec:
containers:
- name: nginx
image: nginx:1.27
ports:
- containerPort: 80