Jhonatas Kleinkauff
09/05/2025, 5:55 PM- name: DATABASE_USER
valueFrom:
secretKeyRef:
name: airbyte-config-secrets
key:
database-userkapa.ai
09/05/2025, 5:55 PMDATABASE_USER, DATABASE_PASSWORD, AWS_ACCESS_KEY_ID, and AWS_SECRET_ACCESS_KEY can contain extra newlines, causing the key: field to be rendered incorrectly on a new line. This results in invalid YAML and deployment failures, as you observed: yaml - name: DATABASE_USER valueFrom: secretKeyRef: name: airbyte-config-secrets key: database-user This issue is documented in GitHub issues [#46329](https://github.com/airbytehq/airbyte/issues/46329) and [#47212](https://github.com/airbytehq/airbyte/issues/47212), where users reported YAML parse errors due to this formatting problem. The error typically looks like: YAML parse error on airbyte/charts/server/templates/deployment.yaml: error converting YAML to JSON: yaml: line XXX: could not find expected ':' A workaround mentioned by users is to ensure you use the correct secret key names and, if possible, try changing storageSecretName and secretsManagerSecretName to secretName in your values file, as this resolved the issue for some users. However, the root cause is a bug in the Helm chart template that mishandles indentation or newlines for these keys. If you are still experiencing this issue in your target version (0.654.0), you may need to manually patch the generated YAML or adjust your values file as described above. If the problem persists, consider checking for updates or open issues in the Airbyte Helm chart repository for a permanent fix. References: - [helm] Storage AWS Credentials with custom secret name does not work - [helm] Extra newlines in generated YAML for some secrets