File: healtcheck-publicly-accessible.patch

package info (click to toggle)
magnum 21.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,976 kB
  • sloc: python: 33,785; sh: 16,800; makefile: 75
file content (18 lines) | stat: -rw-r--r-- 653 bytes parent folder | download | duplicates (3)
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]