adorable-byte-96872
05/19/2022, 6:52 AMcoalesce.go220 warning: cannot overwrite table with non table for oathkeeper.oathkeeper.accessRules (map[])
coalesce.go220 warning: cannot overwrite table with non table for oathkeeper.oathkeeper.mutatorIdTokenJWKs (map[])
coalesce.go220 warning: cannot overwrite table with non table for oathkeeper.oathkeeper.mutatorIdTokenJWKs (map[])
coalesce.go220 warning: cannot overwrite table with non table for oathkeeper.oathkeeper.accessRules (map[])on a fresh oathkeeper install... access-rules.json:
[
{
"id": "ory:kratos:public",
"upstream": {
"preserve_host": true,
"url": "<http://kratos:4433>"
},
"match": {
"url": "<http://auth.local.uk:4455/self-service/><.*>",
"methods": [
"GET",
"POST",
"PUT",
"DELETE",
"PATCH",
"OPTIONS"
]
},
"authenticators": [
{
"handler": "noop"
}
],
"authorizer": {
"handler": "allow"
},
"mutators": [
{
"handler": "noop"
}
]
},
{
"id": "app:protected",
"upstream": {
"preserve_host": true,
"url": "<http://web-app:3000>"
},
"match": {
"url": "<http://app.local.uk:4455/><(?!socket).*>",
"methods": [
"GET",
"POST",
"PUT",
"DELETE"
]
},
"authenticators": [
{
"handler": "cookie_session"
}
],
"authorizer": {
"handler": "allow"
},
"mutators": [
{
"handler": "noop"
}
],
"errors": [
{
"handler": "redirect",
"config": {
"to": "<http://auth.local.uk:4455/login>"
}
}
]
}
]
command:
helm upgrade oathkeeper ory/oathkeeper --set-file 'oathkeeper.accessRules=./access-rules.json' -f oathkeeper-config.yaml --install