Cannot upgrade kong ingress

Hi,

I’am trying to upgrade my kong ingress from version 0.8.0 to the latest version but I get the following error:

Error: UPGRADE FAILED: parse error at (kong/templates/ingress-class.yaml:2): function "lookup" not defined

I executed the helm repo upgrade command:

helm repo update

And after that I used the following upgrade command from the docs (Upgrading from 1.3.x to 2.0.x - v2.0.x | Kong Docs):

helm upgrade ${YOUR_RELEASE_NAME} kong/kong \
  --namespace ${YOUR_NAMESPACE} \
  -f ${PATH_TO_YOUR_VALUES_FILE}

Any suggestions how fix this?

Best Tom

That indicates an older version of Helm prior to when they added the lookup template function.

That actually requires Helm 3.1, though we generally just mention the Helm 2/Helm 3 distinction since we don’t often see older versions of Helm 3 in the wild.

Hi,

Thanks for your reply, I will upgrade my helm version and try it again.

This was the probleem indeed. Thanks it works now.