What’s the best way to test Helm charts?

0
12
Asked By CuriousCoder99 On

Hey Helm users! I'm curious about how you all approach testing your Helm charts. Do you have a specific testing framework or methodology in place for unit testing? How reliable do you find it?

5 Answers

Answered By ChartWizard89 On

Testing declarative code can be tricky. We focus on ensuring the charts can still generate properly. We add the output to our git repo, so any changes are visible in the PRs.

Answered By HelmHero2023 On

Check out the GitHub repo for helm-unittest! It’s a solid starting point for testing your Helm charts. It might have what you’re looking for.

Answered By KubeNinja77 On

We usually just run a basic helm template with all our value files to check the output. It’s pretty straightforward and doesn't need any extra plugins, which makes it easy to set up.

Answered By BatsFan42 On

When developing Helm charts, I've used Bats for testing. It can be a bit finicky and ugly, but it gets the job done by asserting that the correct resources are generated.

Answered By TerraMaster14 On

Absolutely! We utilize Terratest for our unit testing, and it's been a game changer for us. It integrates really well with our operational testing as well.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.