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

Testing helmfiles? #1708

Closed
paichinger opened this issue Mar 4, 2021 · 3 comments
Closed

Testing helmfiles? #1708

paichinger opened this issue Mar 4, 2021 · 3 comments

Comments

@paichinger
Copy link
Contributor

paichinger commented Mar 4, 2021

Hey!
Just curious: Is anyone running automated tests against their helmfiles to make sure that they behave like they should and you're not breaking them?
For my helm-charts I'm using terratest. It has a module for helm which let's you write extensive tests for your charts in golang.
I'm wondering:
Is there something similar for helmfile? What creative solutions are you using or did you encounter?
Thanks in advance for any hints!

@renehernandez
Copy link
Contributor

@pjotre86 This may relevant: #1713

@mumoshu
Copy link
Collaborator

mumoshu commented Apr 13, 2021

@pjotre86 If you're more interested in integration testing helmfile with a live K8s cluster, I'd guess something like terratest is the best. For unit testing helmfile-generated heml releases, #1713 should be the way to go.

Regarding terratest, I think writing a helmfile adapter for terratest like the helm one https://github.com/gruntwork-io/terratest/tree/master/modules/helm wouldn't be too hard

@paichinger
Copy link
Contributor Author

Thanks for the answer. I'll follow #1713, looks in deed promising and might match my use-case. Will close this.

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

3 participants