From 04c2dcd4275a85f2aa173fe1b968422dda96c80f Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Mon, 28 Oct 2024 11:06:17 +0100 Subject: [PATCH] Revert "use secure config defaults for OCM" This reverts commit 59589cd7d33ba270fddab8d70af213b3c43c2efe. --- services/ocm/pkg/config/defaults/defaultconfig.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/ocm/pkg/config/defaults/defaultconfig.go b/services/ocm/pkg/config/defaults/defaultconfig.go index 34fec3570e8..1b4cdae30c5 100644 --- a/services/ocm/pkg/config/defaults/defaultconfig.go +++ b/services/ocm/pkg/config/defaults/defaultconfig.go @@ -109,8 +109,7 @@ func DefaultConfig() *config.Config { OCMProviderAuthorizerDriver: "json", OCMProviderAuthorizerDrivers: config.OCMProviderAuthorizerDrivers{ JSON: config.OCMProviderAuthorizerJSONDriver{ - Providers: filepath.Join(defaults.BaseConfigPath(), "ocmproviders.json"), - VerifyRequestHostname: true, + Providers: filepath.Join(defaults.BaseConfigPath(), "ocmproviders.json"), }, }, OCMShareProvider: config.OCMShareProvider{