Hi @rophilogene
Thanks so much for jumping in and having a look at my setup.
Networking Issue
In a previous iteration of the deployment I had everything configured as you suggested, except I had the service to be exposed publicly as webapp
and not helm-z5ab8b04b-ab-test-webapp-svc
It was the tooltip in the screenshot below that lead me down the route of using the helm chart name webapp
and not deriving it from the pod name/ namespaced service name.
I understand why what you’ve done works now though. My only question is about why you dropped everything after helm-z5ab8b04b-ab-test-webapp
and added -svc
?
Database Issue
I was testing using an external database with a different Airbyte service. Here’s a link to that service
I have the following setup in my values override
postgresql:
enabled: false
global:
database:
# -- The database host
host: qovery.env.DATABASE_HOST
# -- The database port
port: qovery.env.DATABASE_PORT
# -- The database name
database: qovery.env.DATABASE_NAME
# -- The database user
user: qovery.env.DATABASE_USER
# -- The database password
password: qovery.env.DATABASE_PASSWORD
# -- Temp fix for temporal issue
temporal:
image:
tag: "1.20.1"
extraEnv:
- name: "SQL_TLS"
value: "true"
- name: "SQL_TLS_DISABLE_HOST_VERIFICATION"
value: "true"
- name: "SQL_TLS_ENABLED"
value: "true"
- name: "SQL_HOST_VERIFICATION"
value: "false"
storage:
type: "S3"
bucket:
log: <bucket obfuscated>
state: <bucket obfuscated>
workloadOutput: <bucket obfuscated>
s3:
region: "ap-southeast-2"
authenticationType: instanceProfile
externalDatabase:
jdbcURL: qovery.env.DATABASE_URL
I added the global.temporal
and externalDatabase
config based on some Airbyte topics and the error logs, but I think those are red herrings.
The temporal
service isn’t coming up because of this error:
ERROR Unable to create SQL database. {"error": "unable to connect to DB, tried default DB names: postgres,defaultdb, errors: [pq: no pg_hba.conf entry for host \"<IP>", user \"qoveryadmin\", database \"postgres\", no encryption pq: no pg_hba.conf entry for host \"<IP>\", user \"qoveryadmin\", database \"defaultdb\", no encryption]", "logging-call-at": "handler.go:94"}
Trying your suggested config didn’t work either and came up with the error:
helm.go:84: [debug] execution error at (airbyte/templates/secret.yaml:13:6): You must set `global.database.user` when using an external database
Feel free to jump into this service and have a look. I just deleted the ab-test
service as it’s polluting the global namespace.