fix(deploy): adding correct listen port
This commit is contained in:
parent
b566193430
commit
48a657b01a
@ -6,6 +6,9 @@ resources:
|
||||
- resources/svc.yaml
|
||||
|
||||
configMapGenerator:
|
||||
- name: varnish-env
|
||||
literals:
|
||||
- VARNISH_SIZE=1G
|
||||
- name: varnish-config
|
||||
files:
|
||||
- files/default.vcl
|
||||
|
@ -16,8 +16,13 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: varnish
|
||||
image: reg.cadoles.com/dh/library/varnish:7.6.1
|
||||
image: reg.cadoles.com/dh/library/varnish:7.6.1-alpine
|
||||
imagePullPolicy: IfNotPresent
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: varnish-env
|
||||
env:
|
||||
- VARNISH_HTTP_PORT=8080
|
||||
ports:
|
||||
- containerPort: 8080
|
||||
volumeMounts:
|
||||
|
@ -7,5 +7,5 @@ spec:
|
||||
app: varnish
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 80
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
|
Loading…
x
Reference in New Issue
Block a user