Removing daemonset permission from the charts (#201)

Signed-off-by: Raj <raj.das@mayadata.io>
This commit is contained in:
Raj Babu Das
2020-04-09 16:34:03 +05:30
committed by GitHub
parent 11cbd5d51a
commit 9745b57b1c
14 changed files with 12 additions and 21 deletions

View File

@@ -40,4 +40,4 @@ spec:
icon:
- url:
mediatype: ""
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic/disk-fill/experiment.yaml
chaosexpcrdlink: https://raw.githubusercontent.com/litmuschaos/chaos-charts/master/charts/generic/disk-fill/experiment.yaml

View File

@@ -21,7 +21,6 @@ spec:
- "pods/exec"
- "pods/log"
- "events"
- "daemonsets"
- "chaosengines"
- "chaosexperiments"
- "chaosresults"
@@ -57,6 +56,4 @@ spec:
value: ''
labels:
name: disk-fill
name: disk-fill

View File

@@ -15,7 +15,7 @@ metadata:
name: disk-fill-sa
rules:
- apiGroups: ["","apps","litmuschaos.io","batch"]
resources: ["pods","jobs","pods/exec","events","pods/log","daemonsets","chaosengines","chaosexperiments","chaosresults"]
resources: ["pods","jobs","pods/exec","events","pods/log","chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
@@ -31,4 +31,4 @@ roleRef:
subjects:
- kind: ServiceAccount
name: disk-fill-sa
namespace: default
namespace: default