factorhouse / kpow-helm-charts

Run Kpow for Apache Kafka in Kubernetes
Apache License 2.0
7 stars 5 forks source link

Fixing ingress template #5

Closed jacob-m-barnes closed 2 years ago

jacob-m-barnes commented 2 years ago

The prior change I made had a flaw that I didn't catch in testing. If the if statement is down by the backend config, it will throw the following error. Error: template: kpow/charts/kpow/templates/ingress.yaml:39:56: executing "kpow/charts/kpow/templates/ingress.yaml" at <.Capabilities.KubeVersion.GitVersion>: can't evaluate field Capabilities in type interface {} Moving it up above host solved it.
My original testing didn't catch it due to a misconfiguration in my values files I was passing in 😞

d-t-w commented 2 years ago

Thanks again Jacob!