@@ -170,63 +170,72 @@ data:
170
170
intervalAgeThreshold: 5s
171
171
{{- end }}
172
172
173
- edge:
174
- csr:
175
- {{- if .Values.csr.country }}
176
- country: {{ .Values.csr.country }}
177
- {{- end }}
178
- {{- if .Values.csr.province }}
179
- province: {{ .Values.csr.province }}
180
- {{- end }}
181
- {{- if .Values.csr.locality }}
182
- locality: {{ .Values.csr.locality }}
183
- {{- end }}
184
- {{- if .Values.csr.organization }}
185
- organization: {{ .Values.csr.organization }}
186
- {{- end }}
187
- {{- if .Values.csr.organizationalUnit }}
188
- organizationalUnit: {{ .Values.csr.organizationalUnit }}
189
- {{- end }}
190
- sans:
191
- dns:
192
- {{- if eq (default false .Values.csr.sans.noDefaults) false }}
193
- - localhost
194
- {{- if .Values.advertisedHost }}
195
- - {{ .Values.advertisedHost }}
196
- {{- end }}
173
+ csr:
174
+ {{- if .Values.csr.country }}
175
+ country: {{ .Values.csr.country }}
176
+ {{- end }}
177
+ {{- if .Values.csr.province }}
178
+ province: {{ .Values.csr.province }}
179
+ {{- end }}
180
+ {{- if .Values.csr.locality }}
181
+ locality: {{ .Values.csr.locality }}
182
+ {{- end }}
183
+ {{- if .Values.csr.organization }}
184
+ organization: {{ .Values.csr.organization }}
185
+ {{- end }}
186
+ {{- if .Values.csr.organizationalUnit }}
187
+ organizationalUnit: {{ .Values.csr.organizationalUnit }}
188
+ {{- end }}
189
+ sans:
190
+ dns:
191
+ {{- if eq (default false .Values.csr.sans.noDefaults) false }}
192
+ - localhost
197
193
{{- if and .Values.edge.enabled .Values.edge.advertisedHost }}
198
- - {{ .Values.edge.advertisedHost }}
199
- {{- end }}
200
- {{- if and .Values.linkListeners.transport.service.enabled .Values.linkListeners.transport.advertisedHost }}
201
- - {{ .Values.linkListeners.transport.advertisedHost }}
194
+ - {{ .Values.edge.advertisedHost }}
202
195
{{- end }}
196
+ {{- if .Values.edge.additionalListeners }}
197
+ {{- range .Values.edge.additionalListeners }}
198
+ - {{ .advertisedHost }}
199
+ {{- end }}
203
200
{{- end }}
204
- {{- range .Values.csr.sans.dns }}
205
- - {{ . | quote }}
201
+ {{- if and .Values.linkListeners.transport.service.enabled .Values.linkListeners.transport.advertisedHost }}
202
+ - {{ .Values.linkListeners.transport.advertisedHost }}
206
203
{{- end }}
207
- ip:
208
- {{- if eq (default false .Values.csr.sans.noDefaults) false }}
209
- - 127.0.0.1
204
+ {{- end }} # end if .Values.csr.sans.noDefaults
205
+ {{- range .Values.csr.sans.dns }}
206
+ - {{ . | quote }}
207
+ {{- end }}
208
+ ip:
209
+ {{- if eq (default false .Values.csr.sans.noDefaults) false }}
210
+ - 127.0.0.1
210
211
{{- if and .Values.edge.enabled .Values.edge.service.enabled }}
211
- {{- with .Values.edge.service.loadBalancerIP }}
212
- - {{ . }}
213
- {{- end }}
214
- {{- with .Values.edge.service.externalIPs }}
215
- {{- toYaml . | nindent 4 }}
216
- {{- end }}
212
+ {{- with .Values.edge.service.loadBalancerIP }}
213
+ - {{ . }}
214
+ {{- end }}
215
+ {{- with .Values.edge.service.externalIPs }}
216
+ {{- toYaml . | nindent 4 }}
217
+ {{- end }}
217
218
{{- end }}
218
219
{{- if and .Values.linkListeners.transport.service.enabled .Values.linkListeners.transport.service.enabled }}
219
- {{- with .Values.linkListeners.transport.service.loadBalancerIP }}
220
- - {{ . }}
221
- {{- end }}
222
- {{- with .Values.linkListeners.transport.service.externalIPs }}
223
- {{- toYaml . | nindent 4 }}
224
- {{- end }}
225
- {{- end }}
226
- {{- end }}
227
- {{- range .Values.csr.sans.ip }}
228
- - {{ . | quote }}
220
+ {{- with .Values.linkListeners.transport.service.loadBalancerIP }}
221
+ - {{ . }}
222
+ {{- end }}
223
+ {{- with .Values.linkListeners.transport.service.externalIPs }}
224
+ {{- toYaml . | nindent 4 }}
225
+ {{- end }}
229
226
{{- end }}
227
+ {{- end }} # end if .Values.csr.sans.noDefaults
228
+ {{- range .Values.csr.sans.ip }}
229
+ - {{ . | quote }}
230
+ {{- end }}
231
+ email:
232
+ {{- range .Values.csr.sans.email }}
233
+ - {{ . | quote }}
234
+ {{- end }}
235
+ uri:
236
+ {{- range .Values.csr.sans.uri }}
237
+ - {{ . | quote }}
238
+ {{- end }}
230
239
231
240
#transport:
232
241
# ws:
0 commit comments