Skip to content

Commit

Permalink
[Proxy-config] Add port-forward permissions (#23)
Browse files Browse the repository at this point in the history
* Add port-forward permissions

* Approaching comments
  • Loading branch information
xeviknal authored Dec 7, 2020
1 parent d80629e commit 12b061c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions kiali-operator/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,12 @@ rules:
{{- if eq .Values.onlyViewOnlyMode false }}
- patch
{{- end }}
- apiGroups: [""]
resources:
- pods/portforward
verbs:
- create
- post
- apiGroups: ["extensions", "apps"]
resources:
- deployments
Expand Down
6 changes: 6 additions & 0 deletions kiali-server/templates/role-viewer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ rules:
- get
- list
- watch
- apiGroups: [""]
resources:
- pods/portforward
verbs:
- create
- post
- apiGroups: ["extensions", "apps"]
resources:
- deployments
Expand Down
6 changes: 6 additions & 0 deletions kiali-server/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ rules:
- list
- patch
- watch
- apiGroups: [""]
resources:
- pods/portforward
verbs:
- create
- post
- apiGroups: ["extensions", "apps"]
resources:
- deployments
Expand Down

0 comments on commit 12b061c

Please sign in to comment.