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

[Feature]: Create RBAC permissions for k8sgpt pod during local development #489

Open
2 tasks done
arbreezy opened this issue Aug 4, 2024 · 0 comments
Open
2 tasks done

Comments

@arbreezy
Copy link
Member

arbreezy commented Aug 4, 2024

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've discussed this feature request in the K8sGPT Slack and got positive feedback

Is this feature request related to a problem?

None

Problem Description

When we switched from having the operator's code, creating all k8sgpt rbac permissions for good reasons and put them in helm chart's manifests, we effectively lost the ability to provision a functional k8sgpt pod whilst running the operator in local mode due to the fact the permissions are coming from the helm chart which is not part of operator's local development.

Solution Description

I think there are many ways to solve this issue and I don't have strong opinions.
The result will be the creation of RBAC permissions along with the service account during operator's local development workflow.

An approach will be to update the way make install is used right now to include the helm chart RBAC manifests

Benefits

Parity between operator's helm chart templates and local development's manifests

Potential Drawbacks

No response

Additional Information

Preferably we need to have a better way to use kubebuilder's Makefile (kustomize) and our own helm chart templates' development in parity during operator's development

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

No branches or pull requests

1 participant