fix(deploy): adding correct listen port

This commit is contained in:
Philippe Caseiro 2025-02-12 11:04:46 +01:00
parent b566193430
commit 48a657b01a
3 changed files with 10 additions and 2 deletions

View File

@ -6,6 +6,9 @@ resources:
- resources/svc.yaml
configMapGenerator:
- name: varnish-env
literals:
- VARNISH_SIZE=1G
- name: varnish-config
files:
- files/default.vcl

View File

@ -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:

View File

@ -7,5 +7,5 @@ spec:
app: varnish
ports:
- protocol: TCP
port: 80
port: 8080
targetPort: 8080