Files
deploy/test/remote/argocd-remote-permissions.yaml
jannfisandGitHub f50e491b8b chore: Make e2e tests runnable against remote cluster (#5895)
* chore: Make e2e tests runnable against remote cluster

Signed-off-by: jannfis <[email protected]>

* Fix linter complaint

Signed-off-by: jannfis <[email protected]>

* Revert

Signed-off-by: jannfis <[email protected]>

* Address reviewer comments

Signed-off-by: jannfis <[email protected]>

* Compat with Mac

Signed-off-by: jannfis <[email protected]>

* Revert test setting

Signed-off-by: jannfis <[email protected]>
2021-04-07 14:49:17 +02:00

40 lines
872 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app.kubernetes.io/name: argocd-application-controller
app.kubernetes.io/part-of: argocd
app.kubernetes.io/component: application-controller
name: ##CRNAME##
rules:
- apiGroups:
- '*'
resources:
- '*'
verbs:
- '*'
- nonResourceURLs:
- '*'
verbs:
- '*'
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
app.kubernetes.io/name: argocd-application-controller
app.kubernetes.io/part-of: argocd
app.kubernetes.io/component: application-controller
name: ##CRBNAME##
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: ##CRNAME##
subjects:
- kind: ServiceAccount
name: ##CONTROLLERSANAME##
namespace: ##NAMESPACE##
- kind: ServiceAccount
name: ##SERVERSANAME##
namespace: ##NAMESPACE##