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

feat: Add RBAC rules for Kubernetes Deployment tests #2307

Merged
merged 4 commits into from
Nov 5, 2024

Conversation

christianshub
Copy link
Contributor

@christianshub christianshub commented Oct 30, 2024

Description

This PR introduces RBAC permissions to allow the Canary Checker to create and delete Kubernetes deployments (see full allowance list below), as required for specific deployment-related tests. These changes support the deploymentCreateAndDelete setting in values.yaml.

Allowance list:

  • get
  • list
  • watch
  • create
  • update
  • patch
  • delete

Solves #2308

@CLAassistant
Copy link

CLAassistant commented Oct 30, 2024

CLA assistant check
All committers have signed the CLA.

@christianshub christianshub changed the title Add RBAC Rules for Deployment feat: Add RBAC Rules for Deployment Oct 30, 2024
@christianshub
Copy link
Contributor Author

christianshub commented Oct 30, 2024

Got a failing test Test / test (git, ubuntu-latest) (pull_request). Not sure if I can solve this one myself without broader rights. I see this happens in other PRs as well (e..g PR 2101)

@christianshub christianshub changed the title feat: Add RBAC Rules for Deployment feat: Add RBAC rules for Deployment tests Oct 30, 2024
@christianshub christianshub changed the title feat: Add RBAC rules for Deployment tests feat: Add RBAC rules for Kubernetes Deployment tests Oct 30, 2024
@moshloop moshloop enabled auto-merge (squash) November 5, 2024 13:33
@moshloop moshloop merged commit 394c1d7 into flanksource:master Nov 5, 2024
14 of 15 checks passed
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.

3 participants