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

Add RBAC and serviceaccounts to make run #116

Open
shaneutt opened this issue Mar 13, 2024 · 1 comment
Open

Add RBAC and serviceaccounts to make run #116

shaneutt opened this issue Mar 13, 2024 · 1 comment
Labels
area/maintenance migrated-from-archive Issues migrated from the archived KGO repository

Comments

@shaneutt
Copy link
Contributor

shaneutt commented Mar 13, 2024

Running make run and make debug are common ways to test and debug the KGO, but they utilize the service account of whatever the local kube config has (often enough, cluster-admin). This means that testing this way can very easily miss on RBAC issues and such. The purpose of this issue is to create and manage a service account with the real RBAC permissions the controller would use normally, in a similar way to what the integration test suite does.

@pmalek
Copy link
Member

pmalek commented Mar 13, 2024

FYI: Because it's way closer to production deployment to test the operator "in-cluster", I suggest to consider skaffold as the go to tool.

You can use it with

make run.skaffold

@mlavacca mlavacca added the migrated-from-archive Issues migrated from the archived KGO repository label Apr 19, 2024
@czeslavo czeslavo transferred this issue from another repository Apr 22, 2024
@czeslavo czeslavo transferred this issue from another repository Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/maintenance migrated-from-archive Issues migrated from the archived KGO repository
Projects
None yet
Development

No branches or pull requests

3 participants