1
1
apiVersion : v1
2
2
kind : Namespace
3
3
metadata :
4
- name : image-updater-e2e-006
4
+ name : image-updater-e2e-006-01
5
5
---
6
- apiVersion : v1
7
- kind : Namespace
6
+ apiVersion : rbac.authorization.k8s.io/ v1
7
+ kind : Role
8
8
metadata :
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
10
36
---
11
37
apiVersion : v1
12
38
kind : ConfigMap
@@ -17,7 +43,7 @@ metadata:
17
43
app.kubernetes.io/name : argocd-cmd-params-cm
18
44
app.kubernetes.io/part-of : argocd
19
45
data :
20
- application.namespaces : image-updater-e2e-006-01
46
+ application.namespaces : ' * '
21
47
---
22
48
kind : AppProject
23
49
apiVersion : argoproj.io/v1alpha1
@@ -45,6 +71,7 @@ apiVersion: argoproj.io/v1alpha1
45
71
kind : Application
46
72
metadata :
47
73
name : image-updater-006
74
+ namespace : image-updater-e2e-006-01
48
75
annotations :
49
76
argocd-image-updater.argoproj.io/image-list : guestbook=gcr.io/heptio-images/ks-guestbook-demo:~0
50
77
argocd-image-updater.argoproj.io/guestbook.update-strategy : semver
58
85
server : https://kubernetes.default.svc
59
86
namespace : image-updater-e2e-006-01
60
87
syncPolicy :
61
- automated : {}
62
- retry :
63
- limit : 2
88
+ automated :
89
+ prune : true
90
+ selfHeal : true
0 commit comments