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 😞
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 abovehost
solved it.My original testing didn't catch it due to a misconfiguration in my values files I was passing in 😞