1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: Set /healthcheck as requiring no auth
Author: Thomas Goirand <zigo@debian.org>
Forwarded: https://review.opendev.org/735898
Last-Update: 2020-06-16
Index: magnum/etc/magnum/api-paste.ini
===================================================================
--- magnum.orig/etc/magnum/api-paste.ini
+++ magnum/etc/magnum/api-paste.ini
@@ -10,7 +10,7 @@ pipeline = cors http_proxy_to_wsgi reque
paste.app_factory = magnum.api.app:app_factory
[filter:authtoken]
-acl_public_routes = /, /v1
+acl_public_routes = /, /v1, /healthcheck
paste.filter_factory = magnum.api.middleware.auth_token:AuthTokenMiddleware.factory
[filter:osprofiler]
|