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

Test kubernetes service account in helm chart #182

Open
mathew-fleisch opened this issue Jan 8, 2023 · 0 comments
Open

Test kubernetes service account in helm chart #182

mathew-fleisch opened this issue Jan 8, 2023 · 0 comments

Comments

@mathew-fleisch
Copy link

The helm chart has a flag to toggle giving the pod a kubernetes service account, but there are no tests to prove it works as expected/intended. A pod should be able to run kubectl commands on the local cluster if enabled, and a pod should reject/error kubectl commands when disabled. These two tests would require a secondary deployment to test no-service-account, because the default deployment includes one.

https://github.com/mathew-fleisch/bashbot/blob/f16c935485e84ec427caf4368000a4a2f5bb263b/charts/bashbot/values.yaml#L25-L31

https://github.com/mathew-fleisch/bashbot/blob/f16c935485e84ec427caf4368000a4a2f5bb263b/charts/bashbot/values.yaml#L25-L31

Gaic4o pushed a commit to Gaic4o/argocd-example-apps that referenced this issue Aug 5, 2024
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