Skip to content

Commit 901821d

Browse files
committed
Add environment variable to allow connection
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 add0da1 commit 901821d

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy