(feat): Adding minimal permission in openebs-target-network-loss chart (#127)

Signed-off-by: shubhamchaudhary <shubham.chaudhary@mayadata.io>
This commit is contained in:
Shubham Chaudhary
2020-01-25 19:19:14 +05:30
committed by Karthik Satchitanand
parent af607cdaab
commit 0209bf396e

View File

@@ -10,6 +10,7 @@ metadata:
version: 0.1.7 version: 0.1.7
spec: spec:
definition: definition:
scope: Cluster
permissions: permissions:
- apiGroups: - apiGroups:
- "" - ""
@@ -17,24 +18,27 @@ spec:
- "apps" - "apps"
- "batch" - "batch"
- "litmuschaos.io" - "litmuschaos.io"
- "openebs.io"
- "storage.k8s.io" - "storage.k8s.io"
resources: resources:
- "daemonsets"
- "statefulsets"
- "deployments"
- "replicasets"
- "jobs" - "jobs"
- "pods" - "pods"
- "services"
- "pods/exec" - "pods/exec"
- "chaosengines" - "configmaps"
- "chaosexperiments" - "secrets"
- "chaosresults"
- "persistentvolumeclaims" - "persistentvolumeclaims"
- "storageclasses" - "storageclasses"
- "persistentvolumes" - "persistentvolumes"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
verbs: verbs:
- "*" - "create"
- "get"
- "delete"
- "list"
- "patch"
- "update"
image: "litmuschaos/ansible-runner:latest" image: "litmuschaos/ansible-runner:latest"
args: args:
- -c - -c
@@ -60,7 +64,7 @@ spec:
value: '100' # in percentage value: '100' # in percentage
- name: TOTAL_CHAOS_DURATION - name: TOTAL_CHAOS_DURATION
value: '240000' # in milliseconds value: '120000' # in milliseconds
- name: LIVENESS_APP_LABEL - name: LIVENESS_APP_LABEL
value: '' value: ''