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

@@ -15,7 +15,6 @@ spec:
- "batch"
- "litmuschaos.io"
resources:
- "daemonsets"
- "jobs"
- "pods"
- "pods/log"

View File

@@ -16,7 +16,7 @@ metadata:
name: container-kill-sa
rules:
- apiGroups: ["","litmuschaos.io","batch","apps"]
resources: ["pods","jobs","daemonsets","pods/exec","pods/log","events","chaosengines","chaosexperiments","chaosresults"]
resources: ["pods","jobs","pods/exec","pods/log","events","chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1

View File

@@ -16,7 +16,7 @@ metadata:
name: container-kill-sa
rules:
- apiGroups: ["","litmuschaos.io","batch","apps"]
resources: ["pods","jobs","daemonsets","pods/exec","pods/log","events","chaosengines","chaosexperiments","chaosresults"]
resources: ["pods","jobs","pods/exec","pods/log","events","chaosengines","chaosexperiments","chaosresults"]
verbs: ["create","list","get","patch","update","delete"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1