Skip to content

Commit

Permalink
Add apiconnect.ibm.com apiGroups to clusterrole (#81)
Browse files Browse the repository at this point in the history
* Added cloud manager secret

Signed-off-by: Andrew Perry <[email protected]>
Signed-off-by: Alexandros Phinikarides <[email protected]>

* Updated to split cloud manager token more compeltely

Signed-off-by: Andrew Perry <[email protected]>
Signed-off-by: Alexandros Phinikarides <[email protected]>

* Added test for cloud manager token before using it

Signed-off-by: Andrew Perry <[email protected]>
Signed-off-by: Alexandros Phinikarides <[email protected]>

* add apiconnect API groups to clusterrole

Signed-off-by: Alexandros Phinikarides <[email protected]>

---------

Signed-off-by: Andrew Perry <[email protected]>
Signed-off-by: Alexandros Phinikarides <[email protected]>
Co-authored-by: Andrew Perry <[email protected]>
  • Loading branch information
alexisph and perryan authored Jan 11, 2024
1 parent 1247191 commit 6361248
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions deployment/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,15 @@ rules:
- apiGroups: [""]
resources: ["pods","services","secrets"]
verbs: ["get","list"]
- apiGroups: ["management.apiconnect.ibm.com"]
resources: ["managementclusters"]
verbs: ["get","list"]
- apiGroups: ["analytics.apiconnect.ibm.com"]
resources: ["analyticsclusters"]
verbs: ["get","list"]
- apiGroups: ["gateway.apiconnect.ibm.com"]
resources: ["gatewayclusters"]
verbs: ["get","list"]
- apiGroups: ["portal.apiconnect.ibm.com"]
resources: ["portalclusters"]
verbs: ["get","list"]

0 comments on commit 6361248

Please sign in to comment.