Hi Folks! I am trying to setup airbyte-temporal a...
# replication-troubleshooting
s
Hi Folks! I am trying to setup airbyte-temporal and I have already setup one airbyte metadb as an external pg db. For temporal, the pod is specifically looking for temporal & temporal_visibility DBs. I have 2 more new DBs created but their name is slightly different, along with diff creds. Is there a way to override this? I was checking this script which runs by default. https://github.com/airbytehq/airbyte/blob/master/airbyte-temporal/scripts/update-and-start-temporal.sh I was thinking that I’ll have to modify this to suit my use case, can someone please guide me to the right path? Thanks :)
Can someone help here?!
m
Sorry the delay @Shivam Kapoor you’re trying to run temporal externally in Kuberentes?
s
@Marcos Marx (Airbyte) I am using the temporal chart from airbyte, but I don’t want the db creation to happen via the chart. I have created the required temporal & visibility DBs separately with their own creds.
m
I see, @Kyryl Skobylko this is possible? 😄
k
I think you can override it using global.database and externalDB block
and it should also work for temporal
otherwise if you need to overwrite specifically for temporal ,you can provide env vars via
env_vars
or
extraEnv
blocks, see default vaules.yaml file of temporal chart for more details
But if this doesn’t work for you, then feel free to modify the sh script and create a PR 🙂 FYI: I’m out rn for an hour or so
s
@Kyryl Skobylko I am not sure if we can override the env vars and solve this. From what I can see, we can just change the DB name, but it will still 1. try to create the db 2. use the common user pass in both the dbs
k
I see, then looks like the script update is required