Skip to content

Conversation

@carvinch
Copy link

@carvinch carvinch commented Jul 8, 2025

The modifications in this branch enable deployment using an external PostgreSQL database and include the following two changes:

1. change in `.\helm\common\templates\_db_setup_job.tpl`
If user want to use external postgres db(not deployed by gen3 helm chart) , user will set `dbCreate = false` in the `gen3/values.yaml`, then the _db_setup_job.tplwill create key dbcreated = true in the secrets xxx-dbcreds such as fence-dbcreds, arborist-dbcreds ....
  otherwise the  key dbcreated  will missing in those dbcreds secrets, and the pod will in status CrashLoopBackOff.
2. change in` .\helm\common\templates\_netpolicy_templates.tpl`
 If user want to use external postgres db(not deployed by gen3 helm chart) , user will set `dbCreate = false` in the `gen3/values.yaml,`, allow egress traffic on port 5432, this is for gen3 to communicate with postgres db in difference namespace in the cluster.
   otherwise the gen3 can not talk with postgres db which not in the same kubernetes namespace

Rui Chen added 2 commits July 7, 2025 09:59
…s port 5432 for postgres accross namespace if user deploy postgres in another namespace
@jawadqur jawadqur requested a review from AidanHilt August 27, 2025 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants