-
Notifications
You must be signed in to change notification settings - Fork 301
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
Helm test only pod should be ignored #547
Comments
@mbonig What do you think about this? is there a way we can remove those "test" pods? |
@iliapolo, the Helm construct only does a simple @sunshineo Are you seeing this happen on more than just that one Elasticsearch helm chart? |
@sunshineo Reviewing the template more... it looks like there is a flag that can be provided to helm to prevent any tests from being create: |
@mbonig Elasticsearch is the only chart I encountered doing this but any helm chart with test pods will encounter this. I'll try the |
@mbonig Thanks for taking a look. you reasoning makes perfect sense. @sunshineo Let us know if Thanks! |
I confirm --skip-tests works. Need to have helm version >= 3.5 |
Cool. Closing this out then. |
|
Description of the bug:
When using the
Helm
construct to load a helm chart, the generated k8s yaml file contains pod that is test only. According to helm doc https://helm.sh/docs/topics/charts_hooks/ , those are only used when runhelm test
. TheHelm
construct should ignore it.Reproduction Steps:
One helm chart can be used to reproduce is
The final k8s yaml file will contain something like this when it should not
Error Log:
After
kubectl apply
you will see thisThis is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: