Added sample workflows for litmus-portal. (#308)
* Added sample workflows for litmus-portal. Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
This commit is contained in:
29
service-accounts/argo-access.yaml
Normal file
29
service-accounts/argo-access.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: argo-chaos
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: chaos-cluster-role
|
||||
rules:
|
||||
- apiGroups:
|
||||
- '*'
|
||||
resources:
|
||||
- '*'
|
||||
verbs:
|
||||
- '*'
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: chaos-cluster-role-binding
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: chaos-cluster-role
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: argo-chaos
|
||||
namespace: litmus
|
Reference in New Issue
Block a user