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

@@ -22,7 +22,6 @@ spec:
- "openebs.io"
- "storage.k8s.io"
resources:
- "daemonsets"
- "replicasets"
- "events"
- "jobs"

View File

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

View File

@@ -20,7 +20,6 @@ spec:
- "litmuschaos.io"
- "storage.k8s.io"
resources:
- "daemonsets"
- "jobs"
- "pods"
- "events"

View File

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