Skip to content

Commit 535cd03

Browse files
authored
Add environment variable to allow connection (#319)
If this is not set, it shuts down DB containers. Causes users to not be able to Deploy or to Debug the containers. Relevant PR: docker-library/postgres#658
1 parent 9cedb2e commit 535cd03

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/django/python-guestbook/kubernetes-manifests/guestbook-postgres.deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ spec:
2828
name: db
2929
ports:
3030
- containerPort: 5432
31+
env:
32+
- name: POSTGRES_HOST_AUTH_METHOD
33+
value: "trust"

0 commit comments

Comments
 (0)