11apiVersion : v1
22kind : Namespace
33metadata :
4- name : image-updater-e2e-006
4+ name : image-updater-e2e-006-01
55---
6- apiVersion : v1
7- kind : Namespace
6+ apiVersion : rbac.authorization.k8s.io/ v1
7+ kind : Role
88metadata :
9- name : image-updater-e2e-006-01
9+ name : argocd-application-controller
10+ namespace : image-updater-e2e-006-01 # Target namespace where the app will be deployed
11+ rules :
12+ - apiGroups : [""]
13+ resources : ["pods", "services", "replicationcontrollers"]
14+ verbs : ["get", "list", "watch", "create", "update", "patch", "delete"]
15+ - apiGroups : ["apps"]
16+ resources : ["deployments", "daemonsets", "replicasets", "statefulsets"]
17+ verbs : ["get", "list", "watch", "create", "update", "patch", "delete"]
18+ - apiGroups : ["extensions"]
19+ resources : ["ingresses"]
20+ verbs : ["get", "list", "watch", "create", "update", "patch", "delete"]
21+ ---
22+ apiVersion : rbac.authorization.k8s.io/v1
23+ kind : RoleBinding
24+ metadata :
25+ name : argocd-application-controller-binding
26+ namespace : image-updater-e2e-006-01 # Namespace where the Argo CD application is managed
27+ roleRef :
28+ apiGroup : rbac.authorization.k8s.io
29+ kind : Role
30+ name : argocd-application-controller
31+ namespace : argocd-image-updater-e2e # Namespace where the Argo CD application controller is running
32+ subjects :
33+ - kind : ServiceAccount
34+ name : argocd-application-controller
35+ namespace : argocd-image-updater-e2e # Namespace where the Argo CD application controller is running
1036---
1137apiVersion : v1
1238kind : ConfigMap
@@ -17,7 +43,7 @@ metadata:
1743 app.kubernetes.io/name : argocd-cmd-params-cm
1844 app.kubernetes.io/part-of : argocd
1945data :
20- application.namespaces : image-updater-e2e-006-01
46+ application.namespaces : ' * '
2147---
2248kind : AppProject
2349apiVersion : argoproj.io/v1alpha1
@@ -45,6 +71,7 @@ apiVersion: argoproj.io/v1alpha1
4571kind : Application
4672metadata :
4773 name : image-updater-006
74+ namespace : image-updater-e2e-006-01
4875 annotations :
4976 argocd-image-updater.argoproj.io/image-list : guestbook=gcr.io/heptio-images/ks-guestbook-demo:~0
5077 argocd-image-updater.argoproj.io/guestbook.update-strategy : semver
5885 server : https://kubernetes.default.svc
5986 namespace : image-updater-e2e-006-01
6087 syncPolicy :
61- automated : {}
62- retry :
63- limit : 2
88+ automated :
89+ prune : true
90+ selfHeal : true
0 commit comments