helm collabora kubernetes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

25 lines
704 B

{{- if .Values.dynamicConfig.enabled -}}
apiVersion: v1
kind: Service
metadata:
name: {{ include "collabora-online.fullname" . }}-dynconfig
labels:
{{- include "collabora-online.labels" . | nindent 4 }}
type: dynconfig
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.dynamicConfig.service.port }}
targetPort: http
protocol: TCP
name: http
{{- if .Values.dynamicConfig.upload.enabled }}
- port: {{ .Values.dynamicConfig.upload.service.port }}
targetPort: upload-http
protocol: TCP
name: upload-http
{{- end }}
selector:
{{- include "collabora-online.selectorLabels" . | nindent 4 }}
type: dynconfig
{{- end }}