feat(kv): add health check port configuration.
This commit is contained in:
parent
34eb2e371e
commit
3d47030349
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
||||||
{{with $healthCheck}}
|
{{with $healthCheck}}
|
||||||
[backends."{{$backendName}}".healthCheck]
|
[backends."{{$backendName}}".healthCheck]
|
||||||
path = "{{$healthCheck}}"
|
path = "{{$healthCheck}}"
|
||||||
|
port = {{ Get "0" $backend "/healthcheck/port" }}
|
||||||
interval = "{{ Get "30s" $backend "/healthcheck/interval" }}"
|
interval = "{{ Get "30s" $backend "/healthcheck/interval" }}"
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue