Skip to content

Commit

Permalink
adding secrets permission to eventtracker (#3559)
Browse files Browse the repository at this point in the history
Signed-off-by: Raj Babu Das <[email protected]>
  • Loading branch information
imrajdas authored Apr 15, 2022
1 parent 2b09958 commit 227a4a1
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion litmus-portal/cluster-k8s-manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ rules:
resources: [eventtrackerpolicies/status]
verbs: [get, patch, update]
- apiGroups: ["", extensions, apps]
resources: [deployments, daemonsets, statefulsets, pods, configmaps]
resources: [deployments, daemonsets, statefulsets, pods, configmaps, secrets]
verbs: [get, list, watch]
---
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ rules:
- statefulsets
- pods
- configmaps
- secrets
verbs:
- get
- list
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ rules:
- get
- list
- watch
- secrets
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
Expand Down
2 changes: 1 addition & 1 deletion litmus-portal/namespaced-k8s-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ rules:
resources: [eventtrackerpolicies/status]
verbs: [get, patch, update]
- apiGroups: ["", extensions, apps]
resources: [deployments, daemonsets, statefulsets, pods, configmaps]
resources: [deployments, daemonsets, statefulsets, pods, configmaps, secrets]
verbs: [get, list, watch]
---
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ metadata:
name: subscriber-role-for-litmusportal-server
rules:
- apiGroups: [""]
resources: [configmaps]
resources: [configmaps, secrets]
verbs: [get, create, delete, update]

- apiGroups: [""]
Expand Down Expand Up @@ -330,7 +330,7 @@ rules:
resources: [eventtrackerpolicies/status]
verbs: [get, patch, update]
- apiGroups: ["", extensions, apps]
resources: [deployments, daemonsets, statefulsets, pods, configmaps]
resources: [deployments, daemonsets, statefulsets, pods, configmaps, secrets]
verbs: [get, list, watch]
---
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
2 changes: 1 addition & 1 deletion mkdocs/docs/2.8.0/litmus-2.8.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ rules:
resources: [eventtrackerpolicies/status]
verbs: [get, patch, update]
- apiGroups: ["", extensions, apps]
resources: [deployments, daemonsets, statefulsets, pods, configmaps]
resources: [deployments, daemonsets, statefulsets, pods, configmaps, secrets]
verbs: [get, list, watch]
---
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
2 changes: 1 addition & 1 deletion mkdocs/docs/2.8.0/litmus-namespaced-2.8.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ rules:
resources: [eventtrackerpolicies/status]
verbs: [get, patch, update]
- apiGroups: ["", extensions, apps]
resources: [deployments, daemonsets, statefulsets, pods, configmaps]
resources: [deployments, daemonsets, statefulsets, pods, configmaps, secrets]
verbs: [get, list, watch]
---
apiVersion: rbac.authorization.k8s.io/v1
Expand Down

0 comments on commit 227a4a1

Please sign in to comment.