commit 7ef69e0eea8ad7ae8b9a82eee47dcc62c864102d Author: tiendd Date: Wed Mar 26 11:18:51 2025 +0000 Add oathkeeper/dev/rules-faas-allowall.json diff --git a/oathkeeper/dev/rules-faas-allowall.json b/oathkeeper/dev/rules-faas-allowall.json new file mode 100644 index 0000000..deb0837 --- /dev/null +++ b/oathkeeper/dev/rules-faas-allowall.json @@ -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"} ] + } +] +