@@ -21,11 +21,13 @@ spec:
21
21
protocol : HTTPS
22
22
port : {{ .Values.httpRoute.gateway.port | default 443 }}
23
23
hostname : {{ .Values.global.domain.opencloud | quote }}
24
+ {{- if .Values.global.tls.enabled }}
24
25
tls :
25
26
mode : Terminate
26
27
certificateRefs :
27
28
- name : opencloud-wildcard-tls
28
29
namespace : {{ .Values.httpRoute.gateway.namespace | default .Release.Namespace }}
30
+ {{- end }}
29
31
allowedRoutes :
30
32
namespaces :
31
33
from : Selector
@@ -37,11 +39,13 @@ spec:
37
39
protocol : HTTPS
38
40
port : {{ .Values.httpRoute.gateway.port | default 443 }}
39
41
hostname : {{ .Values.global.domain.keycloak | quote }}
42
+ {{- if .Values.global.tls.enabled }}
40
43
tls :
41
44
mode : Terminate
42
45
certificateRefs :
43
46
- name : opencloud-wildcard-tls
44
47
namespace : {{ .Values.httpRoute.gateway.namespace | default .Release.Namespace }}
48
+ {{- end }}
45
49
allowedRoutes :
46
50
namespaces :
47
51
from : Selector
@@ -54,11 +58,13 @@ spec:
54
58
protocol : HTTPS
55
59
port : {{ .Values.httpRoute.gateway.port | default 443 }}
56
60
hostname : {{ .Values.global.domain.minio | quote }}
61
+ {{- if .Values.global.tls.enabled }}
57
62
tls :
58
63
mode : Terminate
59
64
certificateRefs :
60
65
- name : opencloud-wildcard-tls
61
66
namespace : {{ .Values.httpRoute.gateway.namespace | default .Release.Namespace }}
67
+ {{- end }}
62
68
allowedRoutes :
63
69
namespaces :
64
70
from : Selector
@@ -71,11 +77,13 @@ spec:
71
77
protocol : HTTPS
72
78
port : {{ .Values.httpRoute.gateway.port | default 443 }}
73
79
hostname : {{ .Values.global.domain.collabora | quote }}
80
+ {{- if .Values.global.tls.enabled }}
74
81
tls :
75
82
mode : Terminate
76
83
certificateRefs :
77
84
- name : opencloud-wildcard-tls
78
85
namespace : {{ .Values.httpRoute.gateway.namespace | default .Release.Namespace }}
86
+ {{- end }}
79
87
allowedRoutes :
80
88
namespaces :
81
89
from : Selector
@@ -88,11 +96,13 @@ spec:
88
96
protocol : HTTPS
89
97
port : {{ .Values.httpRoute.gateway.port | default 443 }}
90
98
hostname : {{ .Values.global.domain.onlyoffice | quote }}
99
+ {{- if .Values.global.tls.enabled }}
91
100
tls :
92
101
mode : Terminate
93
102
certificateRefs :
94
103
- name : opencloud-wildcard-tls
95
104
namespace : {{ .Values.httpRoute.gateway.namespace | default .Release.Namespace }}
105
+ {{- end }}
96
106
allowedRoutes :
97
107
namespaces :
98
108
from : Selector
@@ -105,11 +115,13 @@ spec:
105
115
protocol : HTTPS
106
116
port : {{ .Values.httpRoute.gateway.port | default 443 }}
107
117
hostname : {{ .Values.global.domain.wopi | quote }}
118
+ {{- if .Values.global.tls.enabled }}
108
119
tls :
109
120
mode : Terminate
110
121
certificateRefs :
111
122
- name : opencloud-wildcard-tls
112
123
namespace : {{ .Values.httpRoute.gateway.namespace | default .Release.Namespace }}
124
+ {{- end }}
113
125
allowedRoutes :
114
126
namespaces :
115
127
from : Selector
0 commit comments