Skip to content

Commit ef4b76c

Browse files
author
Cris Simpson
committed
Add hostAliases to localhost
On Docker, each container has its own pod. With Helm, all live in chart pod, share localhost.
1 parent dfcedec commit ef4b76c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/helm-chart/values.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ securityContext: {}
5757
# runAsNonRoot: true
5858
# runAsUser: 1000
5959

60+
hostAliases:
61+
- ip: "127.0.0.1"
62+
hostnames:
63+
- "server"
64+
- "paws-compose-db"
65+
- "client"
66+
67+
6068
service:
6169
type: NodePort #ClusterIP
6270
port: 80

0 commit comments

Comments
 (0)