You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When deploying to GKE and not specifying an ingress for batch tier (which nominally wouldn't have one by convention) the following error happens:
To Reproduce
Deploy to GKE and don't specify ingress configuration for the batch tier.
Expected behavior
There should be no error in the event that the ingress configuration is not provided.
Chart version
Current chart (master branch).
Server (if applicable, please complete the following information):
This happens on GKE deployments
Additional context
The issue is that the 'and' operator in go template language is not a short-circuit operator so it evaluates all operands (some of which cause the error).
The text was updated successfully, but these errors were encountered:
In golang 1.18, the "and" and "or" operators behaviors were changed to work like short-circuit operators (for example, && and || operators in Java or C).
helm 3.10 adopted golang 1.18.
This problem will be reproducible in versions of helm < 3.10.
Given the current state of supported k8s api versions by the various vendors supported by this helm chart, it probably makes the most sense to use a version of helm that is more recent than 3.10. If for some reason, this is not possible, this particular issue can be worked around by specifying .ingress.enabled=false for any tiers not providing an ingress.
Describe the bug
When deploying to GKE and not specifying an ingress for batch tier (which nominally wouldn't have one by convention) the following error happens:
To Reproduce
Deploy to GKE and don't specify ingress configuration for the batch tier.
Expected behavior
There should be no error in the event that the ingress configuration is not provided.
Chart version
Current chart (master branch).
Server (if applicable, please complete the following information):
This happens on GKE deployments
Additional context
The issue is that the 'and' operator in go template language is not a short-circuit operator so it evaluates all operands (some of which cause the error).
The text was updated successfully, but these errors were encountered: