Skip to content

Commit b8f7800

Browse files
committed
opencloud gateway: set collabora listener name and protocol depending on .Values.global.tls.enabled
1 parent af9acc4 commit b8f7800

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

charts/opencloud/templates/gateway/gateway.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,16 @@ spec:
9797
kubernetes.io/metadata.name: {{ .Values.httpRoute.gateway.namespace | default .Release.Namespace }}
9898
{{- end }}
9999
{{- if .Values.collabora.enabled }}
100+
{{- if .Values.global.tls.enabled }}
100101
- name: collabora-https
102+
{{- else }}
103+
- name: collabora-http
104+
{{- end }}
105+
{{- if .Values.global.tls.enabled }}
101106
protocol: HTTPS
107+
{{- else }}
108+
protocol: HTTP
109+
{{- end }}
102110
port: {{ .Values.httpRoute.gateway.port | default 443 }}
103111
hostname: {{ .Values.global.domain.collabora | quote }}
104112
{{- if .Values.global.tls.enabled }}

0 commit comments

Comments
 (0)