* Updated dir struture with scenarios and experiments dir Signed-off-by: Amit Kumar Das <amit.das@harness.io> * Added icons Signed-off-by: Amit Kumar Das <amit.das@harness.io>
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
---
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: target-container-failure-sa
|
|
namespace: default
|
|
labels:
|
|
name: target-container-failure-sa
|
|
app.kubernetes.io/part-of: litmus
|
|
---
|
|
# Source: openebs/templates/clusterrole.yaml
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: target-container-failure-sa
|
|
labels:
|
|
name: target-container-failure-sa
|
|
app.kubernetes.io/part-of: litmus
|
|
rules:
|
|
- apiGroups: ["","litmuschaos.io","batch","apps","storage.k8s.io"]
|
|
resources: ["pods","jobs","pods/log","pods/exec","events","configmaps","secrets","persistentvolumeclaims","storageclasses","persistentvolumes","chaosengines","chaosexperiments","chaosresults"]
|
|
verbs: ["create","list","get","patch","update","delete"]
|
|
---
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
name: target-container-failure-sa
|
|
labels:
|
|
name: target-container-failure-sa
|
|
app.kubernetes.io/part-of: litmus
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: target-container-failure-sa
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: target-container-failure-sa
|
|
namespace: default
|