From 18b6ba3b5a23761f22758400a3e4d46b80b92fe1 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Tue, 13 Dec 2022 11:33:05 +0100 Subject: [PATCH] Add /healthcheck to main With [1] we've updated barbican api paste file and added healthcheck bit. However, it was missed to add /healthcheck to main, so it was not working at the end. [1] https://opendev.org/openstack/openstack-ansible-os_barbican/commit/78a1984517b6164dd92a9e23c81b78c18db17459 Change-Id: I7d61d990b973bea538c7ca2ae059f8bea1bb2039 --- templates/barbican-api-paste.ini.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/barbican-api-paste.ini.j2 b/templates/barbican-api-paste.ini.j2 index c0b4d2d..3a647ea 100644 --- a/templates/barbican-api-paste.ini.j2 +++ b/templates/barbican-api-paste.ini.j2 @@ -1,6 +1,7 @@ [composite:main] use = egg:Paste#urlmap /: barbican_version +/healthcheck: healthcheck /v1: {{ (barbican_keystone_auth | bool) | ternary('barbican-api-keystone', 'barbican_api') }} # Use this pipeline for Barbican API - versions no authentication