File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 2727{{- if .Values.config.gateway.enabled }}
2828- -gatewayz
2929{{- end }}
30- - http://localhost:{{ .Values.config.monitor.port }}/
30+ {{- $monitorProto := ternary "https" "http" .Values.config.monitor.tls.enabled }}
31+ - {{ $monitorProto }}://{{ .Values.promExporter.monitorDomain }}:{{ .Values.config.monitor.port }}/
Original file line number Diff line number Diff line change @@ -238,6 +238,7 @@ config:
238238 tls :
239239 # config.nats.tls must be enabled also
240240 # when enabled, monitoring port will use HTTPS with the options from config.nats.tls
241+ # if promExporter is also enabled, consider setting promExporter.monitorDomain
241242 enabled : false
242243
243244 profiling :
@@ -391,6 +392,9 @@ promExporter:
391392 fullImageName :
392393
393394 port : 7777
395+ # if config.monitor.tls.enabled is set to true, monitorDomain must be set to the common name
396+ # or a SAN used in the tls certificate
397+ monitorDomain : localhost
394398 # env var map, see nats.env for an example
395399 env : {}
396400
You can’t perform that action at this time.
0 commit comments