Add oathkeeper/dev/rules-faas-allowall.json
This commit is contained in:
11
oathkeeper/dev/rules-faas-allowall.json
Normal file
11
oathkeeper/dev/rules-faas-allowall.json
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"id": "dev-k3s:faas:allowall",
|
||||||
|
"upstream": {"preserve_host": true, "url": "http://10.10.90.22", "strip_path": "/faas"},
|
||||||
|
"match": { "url": "https://dev-api.geohub.vn/faas/<.*>", "methods": ["GET", "POST", "PUT", "DELETE", "OPTIONS", "HEAD", "PATCH"] },
|
||||||
|
"authenticators": [ {"handler": "noop"} ],
|
||||||
|
"authorizer": {"handler": "allow"},
|
||||||
|
"mutators": [ {"handler": "header"} ]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
Reference in New Issue
Block a user