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

[helm] test-canary template doesn't respect test.enabled flag #13124

Closed
aledefault opened this issue Jun 4, 2024 · 2 comments
Closed

[helm] test-canary template doesn't respect test.enabled flag #13124

aledefault opened this issue Jun 4, 2024 · 2 comments

Comments

@aledefault
Copy link

Describe the bug
test-canary template only checks if Loki Canary is enabled (lokiCanary.enabled). It should also checks test.enabled.

To Reproduce

  1. Install using Helm and using a value of test.enabled: false

To fix it

# test-canary.yaml
...
{{- if and .enabled $.Values.lokiCanary.enabled }}
...

Expected behavior
If test.enabled is false, loki-helm-test should not be deploy.

Environment:

  • Infrastructure: Kubernetes
  • Deployment tool: Helm
@lindhe
Copy link
Contributor

lindhe commented Dec 10, 2024

Seems like a duplicate of #12765?

@aledefault
Copy link
Author

aledefault commented Dec 15, 2024

Seems like a duplicate of #12765?

Agree. Closed by your PR #15346. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants