#global: # airbyteUrl: <https://pre-airbyte.skill...
# ask-ai
y
#global: # airbyteUrl: https://pre-airbyte.skillandyou.io # =============================== # Base de données Postgres # =============================== db: enabled: true auth: username: airbytee password: airbytee persistence: enabled: true size: 50Gi storageClass: airbyte-gp3 # =============================== # MinIO # =============================== minio: enabled: true auth: rootUser: minio rootPassword: minio123456789 persistence: enabled: true size: 50Gi storageClass: airbyte-gp3 # =============================== # Data Plane (pods de jobs) # =============================== dataPlane: enabled: true # =============================== # Workload Launcher # =============================== workload-launcher: {} # =============================== # Airbyte Server # =============================== server: replicaCount: 2 # =============================== # Airbyte Worker # =============================== worker: replicaCount: 2 # =============================== # Webapp # =============================== webapp: service: type: ClusterIP annotations: service.beta.kubernetes.io/aws-load-balancer-type: "" # =============================== # Connector Builder Server # =============================== connector-builder-server: enabled: true # =============================== # Temporal # =============================== temporal: enabled: true # =============================== # Cron # =============================== cron: enabled: true # =============================== # Workload API Server # =============================== workload-api-server: {} # =============================== # Bootloader # =============================== airbyte-bootloader: {} # =============================== # Orchestrator # =============================== orchestrator: {} quand j execute terraform apply le values.yaml n est pas pris en compte le db et minio prend les mdp par defaut airbyte et airbyte au lieu de airbytee et airbytee, de mm pour minio et le size comment regler ce probleme ? voici airbyte.tf : resource "helm_release" "airbyte" { name = "airbyte" namespace = kubernetes_namespace.airbyte.metadata[0].name repository = "https://airbytehq.github.io/helm-charts" chart = "airbyte" version = "1.7.2" create_namespace = true values = [file("${path.module}/airbyte-values.yaml")] depends_on = [ helm_release.ebs_csi_driver, kubernetes_storage_class.airbyte_gp3 ] }
k
Your issue is that the custom values you set in your
airbyte-values.yaml
(for db and minio credentials and storage size) are not being applied when you deploy Airbyte with Terraform and Helm. Instead, the default credentials are used. ### Key Points from Airbyte Documentation 1. values.yaml Structure The Airbyte Helm chart expects overrides in a specific structure. For database and MinIO, the expected keys are usually under
postgresql
and
minio
, not
db
and
minio
as you have. For example, for the database, you should use the
postgresql
section, and for MinIO, the
minio
section, but the structure and keys must match what the chart expects. 2. Database Configuration For Airbyte 1.7.x, the recommended way to use an external database is to disable the internal Postgres and provide your own configuration under
global.database
and
postgresql.enabled: false
. If you want to use the internal Postgres, you should use the
postgresql
section, not `db`:
Copy code
yaml    postgresql:      enabled: true      auth:        username: airbytee        password: airbytee      persistence:        enabled: true        size: 50Gi        storageClass: airbyte-gp3
[See example in the docs](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/database#values) 3. MinIO Configuration Similarly, for MinIO, ensure you are using the correct structure:
Copy code
yaml    minio:      enabled: true      auth:        rootUser: minio        rootPassword: minio123456789      persistence:        enabled: true        size: 50Gi        storageClass: airbyte-gp3
[See MinIO config in the chart values](https://github.com/airbytehq/airbyte-platform/blob/main/charts/airbyte/values.yaml) 4. Why Your Values Are Ignored If you use
db:
instead of
postgresql:
, the Helm chart will not recognize your overrides and will use the defaults. The same applies to any other section that does not match the expected structure. 5. How to Fix - Rename
db:
to
postgresql:
in your
airbyte-values.yaml
. - Double-check all section names and keys to match the [official values.yaml reference](https://github.com/airbytehq/airbyte-platform/blob/main/charts/airbyte/values.yaml). - Make sure your Terraform
values
argument points to the correct file and that the file is valid YAML. ### Example Corrected
airbyte-values.yaml
Copy code
yaml global:   airbyteUrl: https://pre-airbyte.skillandyou.io  postgresql:   enabled: true   auth:     username: airbytee     password: airbytee   persistence:     enabled: true     size: 50Gi     storageClass: airbyte-gp3  minio:   enabled: true   auth:     rootUser: minio     rootPassword: minio123456789   persistence:     enabled: true     size: 50Gi     storageClass: airbyte-gp3  # ...rest of your config...
### Additional Notes - If you are using an external database, set
postgresql.enabled: false
and use the
global.database
section as described in the docs. - Always check the [values.yaml reference](https://github.com/airbytehq/airbyte-platform/blob/main/charts/airbyte/values.yaml) for your chart version to ensure your overrides are correct. - If you continue to have issues, check the rendered Helm templates (
helm template ...
) to debug what values are being picked up. Summary: Your problem is due to incorrect section names in your
values.yaml
. Change
db:
to
postgresql:
and ensure all keys match the chart's expected structure. This should resolve the issue of your custom values not being applied during deployment. [Reference: Airbyte 1.7 values.yaml override guide](https://docs.airbyte.com/platform/1.7/deploying-airbyte#3-create-a-valuesyaml-override-file) [Reference: Airbyte 1.7 database integration](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/database#values)