glance: fix healthcheck URL

The `/` path returns an HTTP redirect with 300 status code, which is not
valid in context of Kubernetes probes and results in thousands of
unnecessary events.

Change-Id: If719975a953025f3262da828f82e721566fa98e6
(cherry picked from commit adb9e804b0)
This commit is contained in:
Marek Skrobacki 2024-11-05 08:31:33 +00:00 committed by Doug Goldstein
parent adb13709e3
commit c92d14b4e3
No known key found for this signature in database
3 changed files with 4 additions and 3 deletions

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v1.0.0
description: OpenStack-Helm Glance
name: glance
version: 0.5.1
version: 0.5.2
home: https://docs.openstack.org/glance/latest/
icon: https://www.openstack.org/themes/openstack/images/project-mascots/Glance/OpenStack_Project_Glance_vertical.png
sources:

View File

@ -22,7 +22,7 @@ exec:
{{- else }}
httpGet:
scheme: {{ tuple "image" "service" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_scheme_lookup" | upper }}
path: /
path: /healthcheck
port: {{ tuple "image" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
{{- end }}
{{- end }}
@ -37,7 +37,7 @@ exec:
{{- else }}
httpGet:
scheme: {{ tuple "image" "service" "api" . | include "helm-toolkit.endpoints.keystone_endpoint_scheme_lookup" | upper }}
path: /
path: /healthcheck
port: {{ tuple "image" "service" "api" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
{{- end }}
{{- end }}

View File

@ -62,4 +62,5 @@ glance:
- 0.4.26 Use quay.io/airshipit/kubernetes-entrypoint:latest-ubuntu_focal by default
- 0.5.0 Remove deprecated config options `stores` and `default_store`
- 0.5.1 Add 2024.2 Ubuntu Jammy overrides
- 0.5.2 Fix HTTP healthcheck URLs for Kubernetes probes
...