Error upgrading Airbyte in Kubernetes via Helm

Summary

Error encountered when upgrading Airbyte in Kubernetes via Helm due to incompatible types for comparison in deployment template


Question

Hey all, I’m hitting an error when upgrading airbyte in kubernetes via helm. I am currently on helm chart version 0.49.5 and want to upgrade to the latest. When running the upgrade command, I get the following error:
Error: UPGRADE FAILED: template: airbyte/charts/worker/templates/deployment.yaml:326:15: executing "airbyte/charts/worker/templates/deployment.yaml" at <eq ((((.Values.global).secretsManager).awsSecretManager).authenticationType) "credentials">: error calling eq: incompatible types for comparison
This struck me as odd since I don’t have a values file so I don’t know why it’s getting tripped up here. After some trial and error, I decided to march up the list of chart versions in the artifacthub and found that version 0.54.121 is the latest version I’m able to upgrade to. Anything after that throws the same error as above.

Has anyone seen this before?



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want to access the original thread.

Join the conversation on Slack

["error", "upgrading", "airbyte", "kubernetes", "helm", "incompatible-types", "deployment-template"]

I would look at the Deploy On Kubernetes via Helm page, and there’s a section titled <Deploy Airbyte on Kubernetes using Helm | Airbyte Documentation from old chart to Airbyte v0.52.0 and latest chart version>. There were a bunch of changes related to config, some of which require editing your airbyte.yaml file and also removing the older style of these from your values.yaml to avoid conflicts.

I imagine that following that carefully will resolve your issue