diff --git a/config/common/templates/endpoint_health.tmpl b/config/common/templates/endpoint_health.tmpl new file mode 100644 index 0000000..f57c681 --- /dev/null +++ b/config/common/templates/endpoint_health.tmpl @@ -0,0 +1,15 @@ +{ + "endpoint": "/healthz", + "method": "GET", + "input_headers": [], + "backend": [ + { + "host": [ + {{ include "backend_host.tmpl" }} + ], + "method": "GET", + "url_pattern": "/healthz", + "extra_config": {} + } + ] +} diff --git a/config/common/templates/endpoints.tmpl b/config/common/templates/endpoints.tmpl index 893bb17..ad02ddf 100755 --- a/config/common/templates/endpoints.tmpl +++ b/config/common/templates/endpoints.tmpl @@ -1,3 +1,4 @@ +{{ template "endpoint_health.tmpl"}}, {{ template "endpoint_login.tmpl"}}, {{ template "endpoint_register.tmpl"}}, {{ template "endpoint_user_logout.tmpl"}},