<@U04S8PLJWMT> When trying to deploy airbyte-v2 he...
# ask-ai
d
@kapa.ai When trying to deploy airbyte-v2 helm chart version 2.0.19 I get an error when starting webapp saying "WEBAPP_URL is not set in configmap" even though I have set webapp.url and global.airbyteUrl in my values file. I do not see WEBAPP_URL set anywhere in the chart, how can I add that to the configmap?
k
Based on the available knowledge sources, the Airbyte Helm chart V2 maps the environment variable
WEBAPP_URL
to the Helm values key
global.webapp.url
in your
values.yaml
file. This is confirmed in the official documentation for both community and enterprise Helm chart V2 upgrades, which show:
Copy code
| Environment variable | Helm chart V2 equivalent      | |---------------------|------------------------------| | WEBAPP_URL          | global.webapp.url            |
([source](https://docs.airbyte.com/platform/deploying-airbyte/chart-v2-community#update-your-valuesyaml-file)) However, you mention that even after setting
webapp.url
and
global.airbyteUrl
, you still get the error "WEBAPP_URL is not set in configmap" and do not see it set anywhere in the chart. ### Key Points: - The correct value to set in your
values.yaml
is
global.webapp.url
. -
WEBAPP_URL
is the environment variable expected by Airbyte, but in Helm chart V2, it should be set via
global.webapp.url
in your values file, not directly as an environment variable. - If you are still seeing the error, it may indicate a bug or a missing mapping in the Helm chart version 2.0.19, or possibly a misconfiguration in your values file. ### Troubleshooting Steps: 1. Double-check your values.yaml Ensure you have the following (replace the URL as appropriate):
Copy code
yaml    global:      webapp:        url: "http://your-airbyte-domain:8000"
2. Check for Chart Bugs There have been recent issues with Helm chart V2 and configmap/environment variable mappings ([example issue](https://github.com/airbytehq/airbyte/issues/65129)). If the mapping is missing in the chart, you may need to: - Manually add
WEBAPP_URL
to the configmap or - Use
extraEnvs
to inject the variable. 3. Use extraEnvs as a workaround If the chart does not propagate
global.webapp.url
to the
WEBAPP_URL
environment variable, you can use the
extraEnvs
field to set it manually:
Copy code
yaml    extraEnvs:      - name: WEBAPP_URL        value: "http://your-airbyte-domain:8000"
This will ensure the environment variable is set in the deployment. 4. Check Chart Version Compatibility There have been reports that some Helm chart versions have issues with environment variable propagation. If possible, try using a different version (e.g., 2.0.18, which is reported to work well) to see if the issue persists ([see discussion](https://github.com/airbytehq/airbyte/issues/68134)). ### Summary - The correct way to set
WEBAPP_URL
is via
global.webapp.url
in your
values.yaml
. - If this does not work, use
extraEnvs
as a workaround. - There may be a bug in the chart version 2.0.19 regarding this mapping. If after these steps the issue persists, it is likely a bug in the Helm chart, and you may want to open an issue or check for updates from the Airbyte team. References: - [Helm chart V2 environment variable mapping](https://docs.airbyte.com/platform/deploying-airbyte/chart-v2-community#update-your-valuesyaml-file) - [Recent issues with Helm chart V2](https://github.com/airbytehq/airbyte/issues/65129) - [Chart version compatibility discussion](https://github.com/airbytehq/airbyte/issues/68134)