(feat): Adding minimal permissions in kafka broker pod failure (#105)

Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
Shubham Chaudhary
2020-01-10 18:32:36 +05:30
committed by Chandan Kumar
parent a2da879c8a
commit d4e359b7be
5 changed files with 34 additions and 24 deletions

View File

@@ -42,7 +42,7 @@ spec:
- name: TARGET_CONTAINER
value: ''
# It only supported pumba
# It only supports pumba
- name: LIB
value: 'pumba'

View File

@@ -5,7 +5,7 @@ description:
kind: ChaosExperiment
metadata:
name: cpu-hog
version: 0.0.5
version: 0.1.5
spec:
definition:
scope: Cluster

View File

@@ -44,7 +44,7 @@ spec:
value: ''
- name: FILL_PERCENTAGE
value: ''
value: '80'
- name: TOTAL_CHAOS_DURATION
value: '60'

View File

@@ -46,7 +46,7 @@ spec:
- name: CHAOS_NAMESPACE
value: ''
# Only GCP is supported
# It supports GCP and AWS
- name: CLOUD_PLATFORM
value: 'GCP'

View File

@@ -8,26 +8,36 @@ metadata:
version: 0.1.3
spec:
definition:
scope: Cluster
permissions:
apiGroups:
- ""
- "extensions"
- "apps"
- "batch"
- "litmuschaos.io"
resources:
- "daemonsets"
- "statefulsets"
- "deployments"
- "replicasets"
- "jobs"
- "pods"
- "pods/exec"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "*"
- apiGroups:
- ""
- "apps"
- "batch"
- "litmuschaos.io"
resources:
- "statefulsets"
- "deployments"
- "configmaps"
- "jobs"
- "pods"
- "pods/exec"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs:
- "create"
- "get"
- "delete"
- "list"
- "patch"
- apiGroups:
- ""
resources:
- "nodes"
verbs :
- "get"
- "list"
image: "litmuschaos/ansible-runner:ci"
args:
- -c
@@ -94,7 +104,7 @@ spec:
value: ''
## env var that describes the library used to execute the chaos
## default: litmus. Supported values: litmus, powerfulseal, chaoskube
## default: litmus. Supported values: litmus, powerfulseal
- name: LIB
value: 'litmus'