Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add clusterroles for tasks and builds to admin and edit #637

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

shreddedbacon
Copy link
Member

@shreddedbacon shreddedbacon commented Dec 7, 2023

Just adding the missing clusterroles to the admin role to allow the lagoon namespace deployer service account to interact with builds and tasks within the namespace as required

Currently the deployer service account can interact with all other resources within the namespace during a build, and being able to interact with other builds or tasks that may exist in the namespace would be useful for being able to handle previous build or task cleanups within a build process.

@shreddedbacon shreddedbacon force-pushed the build-deploy-cluster-role branch from 8e75d2c to 791d520 Compare December 7, 2023 00:00
@shreddedbacon shreddedbacon marked this pull request as ready for review December 7, 2023 04:05
@shreddedbacon
Copy link
Member Author

It would be nice to get this into a lagoon-remote update as part of lagoon-remote 0.87.0 in the 2.17 branch

Copy link
Member

@tobybellwood tobybellwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a neat change, allowing correctly permissioned namespace-scoped serviceaccounts the correct permissions to access all builds and task crds in their namespace

@shreddedbacon shreddedbacon merged commit 37fbe21 into main Dec 8, 2023
16 checks passed
@shreddedbacon shreddedbacon deleted the build-deploy-cluster-role branch December 8, 2023 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants