keystone: use oslo.middleware healtcheck instead of v3 endpoint

Instead of hardcoding the liveness and readiness checks against the v3
endpoint, use the oslo.middlware healthcheck endpoint instead.

Change-Id: I0a8b6e0fb195dff8c7cfe8ccd2484cfcc980c791
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
This commit is contained in:
Doug Goldstein 2024-12-10 12:22:33 -06:00
parent e9c5baefd9
commit 1ecc9eac16
No known key found for this signature in database
3 changed files with 6 additions and 1 deletions

View File

@ -15,7 +15,7 @@ limitations under the License.
{{- define "apiProbeTemplate" }}
httpGet:
scheme: {{ tuple "identity" "service" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_scheme_lookup" | upper }}
path: /v3/
path: {{ tuple "identity" "healthcheck" "internal" . | include "helm-toolkit.endpoints.keystone_endpoint_path_lookup" }}
port: {{ tuple "identity" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
{{- end }}

View File

@ -975,6 +975,7 @@ endpoints:
# key: null
path:
default: /v3
healthcheck: /healthcheck
scheme:
default: http
service: http

View File

@ -0,0 +1,4 @@
---
keystone:
- Use oslo.middleware healthcheck endpoint for liveness and readiness
...