From fb4213e75f0c5b8e49adae621bd2f3c5c04b0f05 Mon Sep 17 00:00:00 2001 From: Willy Kloucek Date: Wed, 6 Dec 2023 09:49:13 +0100 Subject: [PATCH 1/2] remove jwt config from policies after #7672 --- services/policies/pkg/config/config.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/services/policies/pkg/config/config.go b/services/policies/pkg/config/config.go index bf502c8c44..31a10886e1 100644 --- a/services/policies/pkg/config/config.go +++ b/services/policies/pkg/config/config.go @@ -34,11 +34,6 @@ type GRPC struct { TLS *shared.GRPCServiceTLS `yaml:"tls"` } -// TokenManager is the config for using the reva token manager -type TokenManager struct { - JWTSecret string `yaml:"jwt_secret" env:"OCIS_JWT_SECRET;POLICIES_JWT_SECRET" desc:"The secret to mint and validate jwt tokens."` -} - // Engine configures the policy engine. type Engine struct { Timeout time.Duration `yaml:"timeout" env:"POLICIES_ENGINE_TIMEOUT" desc:"Sets the timeout the rego expression evaluation can take. Rules default to deny if the timeout was reached. See the Environment Variable Types description for more details."` From f7865c0ec768a771a1deea80d7b0f30b0af352f2 Mon Sep 17 00:00:00 2001 From: jkoberg Date: Tue, 12 Dec 2023 16:18:54 +0100 Subject: [PATCH 2/2] add changelog Signed-off-by: jkoberg --- changelog/unreleased/fix-policies-jwt-config.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 changelog/unreleased/fix-policies-jwt-config.md diff --git a/changelog/unreleased/fix-policies-jwt-config.md b/changelog/unreleased/fix-policies-jwt-config.md new file mode 100644 index 0000000000..1ab77dedf8 --- /dev/null +++ b/changelog/unreleased/fix-policies-jwt-config.md @@ -0,0 +1,5 @@ +Bugfix: Fix jwt config of policies service + +Removes jwt config of policies service + +https://github.com/owncloud/ocis/pull/7893