9326bf045e
Signed-off-by: Pranam Lashkari <lpranam@collabora.com> Change-Id: Ia8d13762ebc0b0203fd5fa6870f3e576f1648c8a
24 lines
746 B
YAML
24 lines
746 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ .Values.global.app.service.name }}
|
|
namespace: {{ .Values.namespace.collabora }}
|
|
labels:
|
|
app: {{ template "name" . }}
|
|
chart: {{ template "chartname" . }}
|
|
release: {{ .Release.Name }}
|
|
annotations:
|
|
haproxy.org/timeout-tunnel: "3600s"
|
|
haproxy.org/backend-config-snippet: |
|
|
balance url_param WOPISrc check_post
|
|
hash-type consistent
|
|
spec:
|
|
type: {{ .Values.global.app.service.type }}
|
|
ports:
|
|
- port: {{ .Values.global.app.service.externalPort }}
|
|
targetPort: {{ .Values.global.app.service.internalPort }}
|
|
protocol: TCP
|
|
name: {{ .Values.global.app.service.name }}
|
|
selector:
|
|
app: {{ template "name" . }}
|
|
release: {{ .Release.Name }}
|