(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

@@ -12,7 +12,7 @@ spec:
appns: 'default'
applabel: 'app=nginx'
appkind: 'deployment'
chaosServiceAccount: nginx-sa
chaosServiceAccount: pool-network-loss-sa
monitoring: false
# It can be delete/retain
jobCleanUpPolicy: 'delete'

View File

@@ -2,18 +2,18 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: nginx-sa
name: pool-network-loss-sa
namespace: openebs
labels:
name: nginx-sa
name: pool-network-loss-sa
---
# Source: openebs/templates/clusterrole.yaml
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: nginx-sa
name: pool-network-loss-sa
labels:
name: nginx-sa
name: pool-network-loss-sa
rules:
- apiGroups:
- ""
@@ -50,14 +50,14 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: nginx-sa
name: pool-network-loss-sa
labels:
name: nginx-sa
name: pool-network-loss-sa
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: nginx-sa
name: pool-network-loss-sa
subjects:
- kind: ServiceAccount
name: nginx-sa
name: pool-network-loss-sa
namespace: openebs