Skip to content

Commit

Permalink
Add queuemessages to ucp rbac (#6427)
Browse files Browse the repository at this point in the history
# Description

Looks like we recently updated the code to start the dequeuer in UCP.
Add queuemessages to ucp rbac

Introduced by:
https://github.com/radius-project/radius/pull/5855/files#diff-5d9b9964242d77606f4868e3fe049978ea1c3f1903afcfeb60c76e19d9785fc5

![Screenshot 2023-10-04 at 4 21 30
PM](https://github.com/radius-project/radius/assets/28875764/3a2ac2cc-1df5-447d-8db0-8d3b56eb5fa7)


## Type of change

<!--

Please select **one** of the following options that describes your
change and delete the others. Clearly identifying the type of change you
are making will help us review your PR faster, and is used in authoring
release notes.

If you are making a bug fix or functionality change to Radius and do not
have an associated issue link please create one now.

-->

- This pull request fixes a bug in Radius and has an approved issue
(issue link required).

<!--

Please update the following to link the associated issue. This is
required for some kinds of changes (see above).

-->

Fixes: #6428 

## Auto-generated summary

<!--
GitHub Copilot for docs will auto-generate a summary of the PR
-->

<!--
copilot:all
-->
### <samp>🤖 Generated by Copilot at f0878d1</samp>

### Summary
📨📡🔑

<!--
1. 📨 This emoji represents the `queuemessages` resource, which is used
to store and send messages between services. It could also be
interpreted as a mailbox or an inbox, which are common metaphors for
message queues.
2. 📡 This emoji represents the `radius-ucp` service, which is the user
control panel for the radius platform. It could also be interpreted as a
satellite dish or a radio antenna, which are devices that transmit and
receive signals.
3. 🔑 This emoji represents the `ClusterRole` and `service account`
concepts, which are related to authorization and access control in
Kubernetes. It could also be interpreted as a key or a lock, which are
symbols of security and permission.
-->
Added `queuemessages` resource to `radius-ucp` ClusterRole in
`deploy/Chart/templates/ucp/rbac.yaml`. This enables the radius queue
service to access messages for the radius core service.

> _`queuemessages` added_
> _`radius-ucp` can access_
> _cutting through the queue_

### Walkthrough
* Add `queuemessages` resource to `radius-ucp` ClusterRole
([link](https://github.com/radius-project/radius/pull/6427/files?diff=unified&w=0#diff-24ef6f7a71ac496e97b570c9d42f82358cbd496e660eb058079543cc05ff1805R40)).
This allows the `radius-ucp` service account to access the
`queuemessages` custom resource, which is used to store messages for the
radius queue service.
  • Loading branch information
vinayada1 authored Oct 4, 2023
1 parent 4a469cf commit 33c51ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deploy/Chart/templates/ucp/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ rules:
- ucp.dev
resources:
- resources
- queuemessages
verbs:
- create
- delete
Expand Down

0 comments on commit 33c51ed

Please sign in to comment.