(refactor): Modify the image of engine of all experiments
Signed-off-by: Udit Gaurav <uditgaurav@gmail.com>
This commit is contained in:
@@ -10,12 +10,11 @@ spec:
|
||||
appkind: 'deployment'
|
||||
# It can be true/false
|
||||
annotationCheck: 'false'
|
||||
# It can be active/stop
|
||||
engineState: 'active'
|
||||
#ex. values: ns1:name=percona,ns2:run=nginx
|
||||
auxiliaryAppInfo: ''
|
||||
components:
|
||||
runner:
|
||||
image: 'litmuschaos/chaos-executor:1.0.0'
|
||||
type: 'go'
|
||||
chaosServiceAccount: coredns-sa
|
||||
monitoring: false
|
||||
# It can be delete/retain
|
||||
|
33
charts/coredns/coredns-pod-delete/rbac.yaml
Normal file
33
charts/coredns/coredns-pod-delete/rbac.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: coredns-sa
|
||||
namespace: kube-system
|
||||
labels:
|
||||
name: coredns-sa
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: coredns-sa
|
||||
labels:
|
||||
name: coredns-sa
|
||||
rules:
|
||||
- apiGroups: ["","litmuschaos.io","batch"]
|
||||
resources: ["services", "pods","jobs","chaosengines","chaosexperiments","chaosresults"]
|
||||
verbs: ["create","list","get","patch","update","delete"]
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: coredns-sa
|
||||
labels:
|
||||
name: coredns-sa
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: coredns-sa
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: coredns-sa
|
||||
namespace: kube-system
|
Reference in New Issue
Block a user