From adb9e804b031638342fb51893a455a8cffb9713f Mon Sep 17 00:00:00 2001 From: Marek Skrobacki Date: Tue, 5 Nov 2024 08:31:33 +0000 Subject: [PATCH] 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 --- glance/Chart.yaml | 2 +- glance/templates/deployment-api.yaml | 4 ++-- releasenotes/notes/glance.yaml | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/glance/Chart.yaml b/glance/Chart.yaml index 5d5fc8a5c7..1237f643fa 100644 --- a/glance/Chart.yaml +++ b/glance/Chart.yaml @@ -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: diff --git a/glance/templates/deployment-api.yaml b/glance/templates/deployment-api.yaml index 8a8e28447a..f60b8b3299 100644 --- a/glance/templates/deployment-api.yaml +++ b/glance/templates/deployment-api.yaml @@ -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 }} diff --git a/releasenotes/notes/glance.yaml b/releasenotes/notes/glance.yaml index 7d9c834d72..c2bd3ecad2 100644 --- a/releasenotes/notes/glance.yaml +++ b/releasenotes/notes/glance.yaml @@ -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 ...