compile varnish tmpl from docker-entrypoint script

also updates kubernetes resources to separate app & varnish into two different deployments
This commit is contained in:
2025-08-26 19:56:52 +02:00
parent d233c8081a
commit 630ceb2473
12 changed files with 188 additions and 150 deletions

View File

@@ -3,8 +3,8 @@ apiVersion: v1
kind: Service
metadata:
labels:
app: infra-map
name: infra-map-service
app: varnish
name: varnish
namespace: ${NAMESPACE}
spec:
ports:
@@ -12,9 +12,26 @@ spec:
name: http
protocol: TCP
targetPort: 6081
selector:
app: varnish
sessionAffinity: None
type: ClusterIP
---
apiVersion: v1
kind: Service
metadata:
labels:
app: infra-map
name: infra-map
namespace: ${NAMESPACE}
spec:
ports:
- port: 80
name: http
protocol: TCP
targetPort: 3000
selector:
app: infra-map
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}