Hi all, while deploying airbyte on Kubernetes usin...
# ask-ai
s
Hi all, while deploying airbyte on Kubernetes using Helm, I am getting the following error:
Error: UPGRADE FAILED: template: airbyte/charts/webapp/templates/secrets.yaml:14:60: executing "airbyte/charts/webapp/templates/secrets.yaml" at <.Values.global.secrets>: wrong type for value; expected map[string]interface {}; got interface {}
I see that there are some configs missing in values.yaml could someone show me how a working values.yaml looks like! thanks in advance.
k
A message from kapa.ai
Hi there, To customize your Airbyte deployment on Kubernetes using Helm, you can refer to the example
values.yaml
file located in the [charts/airbyte](https://github.com/airbytehq/airbyte-platform/blob/main/charts/airbyte/values.yaml) folder of the Airbyte repository. Make sure to create a
values.yaml
file in your local folder and populate it with the default configuration override values from the example. Here's an example of how to deploy Airbyte with your custom
values.yaml
file:
Copy code
helm install --values path/to/values.yaml %release_name% airbyte/airbyte
If you still encounter issues, please double-check your
values.yaml
file and ensure it matches the structure provided in the example. If the problem persists, feel free to share more details about your configuration, and I'll do my best to help you out. For more information, you can refer to the [Airbyte documentation on deploying with Kubernetes via Helm](https://docs.airbyte.com/deploying-airbyte/on-kubernetes-via-helm).
s
@kapa.ai what changes do you suggest for the following values.yaml file
k
A message from kapa.ai
New message text here
s
The values.yaml that kapa linked in the last comment will work for the latest charts. if you need it for an older version, switch branch to the tag you need e.g. if you're using chart version
v0.45.16
, switch to tag
v0.45.16-helm
s
@Sunny Hashmi by keeping the default values, I am getting the following error: Error: UPGRADE FAILED: pre-upgrade hooks failed: 1 error occurred: * timed out waiting for the condition I suppose I need to change the database configurations, could you please confirm
c
Hey @Shivam Bhardwaj did you get this resolved? I am also getting the same error.
s
Hi @Chris Muller I resolved this issue by making various changes to helm values, postgresdb configuration, using nginx-ingress webapp instead of clusterip, s3 for logs.
c
okay cool, did you checkout the airbyte code into the dir where you ran the helm commands from? or was it a blank folder?
because @Shivam Bhardwaj I am following this: https://docs.airbyte.com/deploying-airbyte/on-kubernetes-via-helm but it does not mention to checkout any code, only run
helm repo add airbyte <https://airbytehq.github.io/helm-charts>
but the folder stays empty even after than.