mirror of
https://github.com/KevinMidboe/infra-map.git
synced 2026-01-02 07:16:33 +00:00
compile varnish tmpl from docker-entrypoint script
also updates kubernetes resources to separate app & varnish into two different deployments
This commit is contained in:
@@ -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: {}
|
||||
|
||||
Reference in New Issue
Block a user