Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(rbac): adding deletecollection permissions in server #3889

Merged
merged 1 commit into from
Jan 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions litmus-portal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ChaosCenter provides console and UI experience for managing, monitoring, and eve
> Litmus-3.0.0-beta3 Cluster Scope manifest

```bash
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/3.0.0-beta3/mkdocs/docs/3.0.0-beta3/litmus-3.0.0-beta3.yaml
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/mkdocs/docs/3.0.0-beta3/litmus-3.0.0-beta3.yaml
```

Or
Expand All @@ -36,9 +36,9 @@ Or
#Create a namespace eg: litmus
kubectl create ns litmus
#Install CRDs, if SELF_AGENT env is set to TRUE
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/3.0.0-beta3/mkdocs/docs/3.0.0-beta3/litmus-portal-crds-3.0.0-beta3.yml
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/mkdocs/docs/3.0.0-beta3/litmus-portal-crds-3.0.0-beta3.yml
#Install ChaosCenter
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/3.0.0-beta3/mkdocs/docs/3.0.0-beta3/litmus-namespaced-3.0.0-beta3.yaml -n litmus
kubectl apply -f https://raw.githubusercontent.com/litmuschaos/litmus/master/mkdocs/docs/3.0.0-beta3/litmus-namespaced-3.0.0-beta3.yaml -n litmus
```

Or
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ rules:
# for checking the app parent resources as deployments or sts and are eligible chaos candidates
- apiGroups: [apps]
resources: [deployments, statefulsets]
verbs: [list, get, patch, update, create, delete, deletecollection]
verbs: [list, get, patch, update, create, delete]

# for checking the app parent resources as replicasets and are eligible chaos candidates
- apiGroups: [apps]
Expand Down Expand Up @@ -304,7 +304,7 @@ rules:
verbs: [get, list]
- apiGroups: [apps]
resources: [deployments, daemonsets, replicasets, statefulsets]
verbs: [get, list, delete]
verbs: [get, list, delete, deletecollection]
- apiGroups: [argoproj.io]
resources: [workflows, workflows/finalizers, workflowtemplates, workflowtemplates/finalizers, cronworkflows, cronworkflows/finalizers, clusterworkflowtemplates, clusterworkflowtemplates/finalizers, rollouts]
verbs: [get, list, create, delete, update, watch]
Expand Down
4 changes: 2 additions & 2 deletions mkdocs/docs/3.0.0-beta3/litmus-3.0.0-beta3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ rules:
# for checking the app parent resources as deployments or sts and are eligible chaos candidates
- apiGroups: [apps]
resources: [deployments, statefulsets]
verbs: [list, get, patch, update, create, delete, deletecollection]
verbs: [list, get, patch, update, create, delete]

# for checking the app parent resources as replicasets and are eligible chaos candidates
- apiGroups: [apps]
Expand Down Expand Up @@ -304,7 +304,7 @@ rules:
verbs: [get, list]
- apiGroups: [apps]
resources: [deployments, daemonsets, replicasets, statefulsets]
verbs: [get, list, delete]
verbs: [get, list, delete, deletecollection]
- apiGroups: [argoproj.io]
resources: [workflows, workflows/finalizers, workflowtemplates, workflowtemplates/finalizers, cronworkflows, cronworkflows/finalizers, clusterworkflowtemplates, clusterworkflowtemplates/finalizers, rollouts]
verbs: [get, list, create, delete, update, watch]
Expand Down
4 changes: 2 additions & 2 deletions mkdocs/docs/3.0.0-beta3/litmus-namespaced-3.0.0-beta3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ rules:

- apiGroups: [apps]
resources: [deployments, daemonsets, replicasets, statefulsets]
verbs: [get, list, delete]
verbs: [get, list, delete, deletecollection]

- apiGroups: [argoproj.io]
resources: [workflows, workflows/finalizers, workflowtemplates, workflowtemplates/finalizers, cronworkflows, cronworkflows/finalizers, rollouts]
Expand Down Expand Up @@ -238,7 +238,7 @@ rules:
# for checking the app parent resources as deployments or sts and are eligible chaos candidates
- apiGroups: [apps]
resources: [deployments, statefulsets]
verbs: [list, get, patch, update, create, delete, deletecollection]
verbs: [list, get, patch, update, create, delete]

# for checking the app parent resources as replicasets and are eligible chaos candidates
- apiGroups: [apps]
Expand Down