-
Notifications
You must be signed in to change notification settings - Fork 228
Protect gitflow with RBAC #623
Comments
@izaac sync with me when you have a chance when you start testing this |
@izaac You can use https://github.com/daxmc99/rio-demo/tree/track_gvk for testing. Expected behavior: In order to deploy Riofile that contains any k8s manifest from remote repository, User has to do:
|
Tested the roles:
I've checked with the above example with admin and see if I was able to specify the permissions and if the objects were created successfully. Also checked the deployments/services weren't created for custom k8s objects specified in the Riofile if I don't set the permissions. I also tested privilege escalation scenarios where I tried to apply permissions like The Test plan updated with the before mentioned scenarios.
|
Use RBAC to protect the job we run to execute gitflow on stacks (i.e. limit permissions accordingly).
For example, rio standeard rbac might be used
We also need to implement extra privilege api for the stack so that extra privileges can be given i.e. to run extra deployments
The text was updated successfully, but these errors were encountered: