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
Error: Upgrade failed: template: web/templates/ingress.yaml:48:21: executing "web/templates/ingress.yaml" at <eq $v "null">: error calling eq: incompatible types for comparison
It seems like "true" is being coerced into a bool and failing here according to the above error.
Location
Browser
CLI
API
Steps to reproduce
Set ingress.annotations["nginx.ingress.kubernetes.io/use-regex"] = "true"
Run porter update config --app=my-app --values=values.yaml
Additional details
Setting ingress.annotations["nginx.ingress.kubernetes.io/use-regex"] = true fails at the ingress controller both locally and in the browser with the following message:
Error: Upgrade failed: unable to decode "": json: cannot unmarshal bool into Go struct field ObjectMeta.metadata.annotations of type string
The text was updated successfully, but these errors were encountered:
Description
The use-regex annotation is expected to be either
"true"
or"false"
by the ingress controller.I'm able to successfully set the annotation in the browser, but cannot do so using the CLI with a values.yaml file such as:
The following error message is printed:
It seems like
"true"
is being coerced into a bool and failing here according to the above error.Location
Steps to reproduce
ingress.annotations["nginx.ingress.kubernetes.io/use-regex"] = "true"
porter update config --app=my-app --values=values.yaml
Additional details
Setting
ingress.annotations["nginx.ingress.kubernetes.io/use-regex"] = true
fails at the ingress controller both locally and in the browser with the following message:The text was updated successfully, but these errors were encountered: