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: write unit tests for helm charts #134

Closed
3 tasks
flavio opened this issue Mar 20, 2025 · 0 comments · Fixed by #149
Closed
3 tasks

test: write unit tests for helm charts #134

flavio opened this issue Mar 20, 2025 · 0 comments · Fixed by #149
Assignees
Labels

Comments

@flavio
Copy link
Member

flavio commented Mar 20, 2025

Helm charts tend to become quite complex over the time, leading to potential rendering issues and bugs.

To avoid that, we should have automated tests in place, to make sure the templates are rendered the way we expect them to be when different values are provided.

The Kubewarden team found the helm unittest to be particularly useful.

You can see that in action inside of this repo.

Acceptance criteria

  • We have a set of tests assessing the helm charts being created
  • Test can be run locally with make
  • Test are run on each PR. They must be green in order for the PR to be merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants