On this page
article
Assign credentials to application
Although we’ve created a new Postgres user and a Kubernetes secret, the health status is still degraded.
This is because we still need to reference the secret in the sample-pg-app.
We’ll do that by adding the following values.yaml
file to the apps/services/sample-pg-app folder.
postgres:
auth:
secretName: "postgres-sample-pg-app-auth"
You can see the default Helm values of sample-pg-app in sample-pg-app/chart/sample-pg-app/values.yaml
Once your changes have been synced, you should see the sample-pg-app in a healthy state!
Last updated 26 Feb 2024, 22:53 +0200 .