mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
* 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]>
40 lines
872 B
YAML
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##
|