-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
our own postgres #4
Comments
👍 for this, I would really like to be able to point to a separately managed database rather than running postgres in our cluster. |
Same here, it seems to be all hardcoded 😢 |
Deploying postgres is hardcoded with helm. You may want to follow the manual deploy steps instead. Otherwise you will need to remove postgres after helm install and then change the connection details: https://github.com/gravitl/netmaker/tree/master/k8s/server |
The problem is the postgres instalation fails in this helm chart 2022-12-03 13:35:27.042 GMT [163] FATAL: password authentication failed for user "postgres" We've had similar problems with third-party products that rely on the Mitnami HA Postgresql installation - it looks like Bitnami broker their helm chart, and everyone has to update their helm charts if they are using it as a subchart. |
* fix: templating of wireguard service annotation * chore: package new chart
For anyone looking: You can now use your own Postgres DB.
The Postgres port is hardcoded to be 5432 |
@anjomro sorry to say, but this is rather useless in its current state.
Here's what would make sense: postgresql-ha:
enabled: false
postgresql:
username:
secretKeyRef:
name: db-credentials
key: username
password:
secretKeyRef:
name: db-credentials
key: password
database: YOUR-POSTGRES-DB Edit: Where do I even set the URL for my DB? |
looks like the work for this was submitted in PR #35 |
if we already have a postgres server, can we configure it instead of deploying a new one?
The text was updated successfully, but these errors were encountered: