(refactor): Modify the Service Account names of the experiments (#145)

Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
This commit is contained in:
UDIT GAURAV
2020-02-15 00:15:40 +05:30
committed by GitHub
parent 7b710e3c2f
commit f4c7b188c7
42 changed files with 189 additions and 189 deletions

View File

@@ -2,18 +2,18 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: nginx-sa
name: target-network-loss-sa
namespace: default
labels:
name: nginx-sa
name: target-network-loss-sa
---
# Source: openebs/templates/clusterrole.yaml
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: nginx-sa
name: target-network-loss-sa
labels:
name: nginx-sa
name: target-network-loss-sa
rules:
- apiGroups: ["","apps","litmuschaos.io","batch","extensions","storage.k8s.io"]
resources: ["pods","pods/exec","jobs","configmaps","secrets","services","persistentvolumeclaims","storageclasses","persistentvolumes","chaosexperiments","chaosresults","chaosengines"]
@@ -22,14 +22,14 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: nginx-sa
name: target-network-loss-sa
labels:
name: nginx-sa
name: target-network-loss-sa
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: nginx-sa
name: target-network-loss-sa
subjects:
- kind: ServiceAccount
name: nginx-sa
name: target-network-loss-sa
namespace: default