containerPort alone is enough, hostPort makes it exposed on the host node
This commit is contained in:
parent
4cfb7d9d26
commit
9711660fc4
|
@ -214,17 +214,14 @@ jenkins:
|
|||
Ports:
|
||||
- name: rest
|
||||
containerPort: "9200"
|
||||
hostPort: "9200"
|
||||
- name: api
|
||||
containerPort: "9300"
|
||||
hostPort: "9300"
|
||||
postgres:
|
||||
Image: "postgres"
|
||||
ImageTag: "9.6-alpine"
|
||||
Ports:
|
||||
- name: postgres
|
||||
containerPort: "5432"
|
||||
hostPort: "5432"
|
||||
EnvVars:
|
||||
- type: Secret
|
||||
key: PGP_PASSPHRASE
|
||||
|
|
Loading…
Reference in New Issue