diff --git a/CHANGELOG.md b/CHANGELOG.md index d164c4c45..563973aae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ Unreleased changes are available as `avenga/couper:edge` container. * **Fixed** * url scheme while using the [`tls` block](https://docs.couper.io/configuration/block/server_tls) ([#703](https://github.com/avenga/couper/issues/703)) * For [OIDC](https://docs.couper.io/configuration/block/oidc), trying to request userinfo from a non-existing (not required, though recommended) userinfo endpoint ([#709](https://github.com/avenga/couper/pull/709)) + * Some `..._file` attributes missing for path absolutizing ([#713](https://github.com/avenga/couper/pull/713)) --- diff --git a/config/configload/load.go b/config/configload/load.go index 2f76b40e8..aa3efdf33 100644 --- a/config/configload/load.go +++ b/config/configload/load.go @@ -54,7 +54,10 @@ var pathBearingAttributesMap map[string]struct{} func init() { pathBearingAttributes := []string{ "bootstrap_file", + "ca_certificate_file", "ca_file", + "client_certificate_file", + "client_private_key_file", "document_root", "error_file", "file", @@ -62,6 +65,12 @@ func init() { "idp_metadata_file", "jwks_url", "key_file", + "leaf_certificate_file", + "permissions_map_file", + "private_key_file", + "public_key_file", + "roles_map_file", + "server_ca_certificate_file", "signing_key_file", } diff --git a/server/testdata/integration/config/09_couper.hcl b/server/testdata/integration/config/09_couper.hcl index c0300ca05..60d3d706e 100644 --- a/server/testdata/integration/config/09_couper.hcl +++ b/server/testdata/integration/config/09_couper.hcl @@ -229,7 +229,7 @@ definitions { key = "asdf" permissions_claim = "scp" roles_claim = "rl" - roles_map_file = "testdata/integration/config/roles.json" - permissions_map_file = "testdata/integration/config/permissions.json" + roles_map_file = "roles.json" + permissions_map_file = "permissions.json" } }