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 resources get created #5

Open
mhrivnak opened this issue Feb 23, 2018 · 1 comment
Open

test resources get created #5

mhrivnak opened this issue Feb 23, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@mhrivnak
Copy link
Member

Helm charts can have one or more templates for testing purposes. This is documented here:

https://docs.helm.sh/developing_charts/#chart-tests

The helm template command will render all templates, including any related to testing. So when the service bundle provisions, it ends up creating those resources.

This image should have a way to exclude test-related resources from provision and deprovision.

One possibility is to just identify any pod definitions that have the annotation helm.sh/hooks: test-success or helm.sh/hooks: test-failure and filter them out of the manifest.

@mhrivnak mhrivnak added the bug Something isn't working label Feb 23, 2018
@sebbes
Copy link

sebbes commented Jun 20, 2019

👍

Have the same problem rendering a community chart and would like to have a switch to exclude test yamls from the rendered chart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants