From 9f32cb9f86f7ac8fa195786387c1e98f11f18c91 Mon Sep 17 00:00:00 2001 From: dslife2024 <46099295+clcc2019@users.noreply.github.com> Date: Mon, 13 Jan 2025 10:24:46 +0800 Subject: [PATCH] Update local.go delete ssl auth --- pkg/registry/local.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/registry/local.go b/pkg/registry/local.go index 5a78a639bb8..d19cdc979ec 100644 --- a/pkg/registry/local.go +++ b/pkg/registry/local.go @@ -131,9 +131,9 @@ func (c *localConfigurator) InstallOn(masters, nodes []net.IP) error { return err } - if err := c.configureAccessCredential(hosts); err != nil { - return err - } + // if err := c.configureAccessCredential(hosts); err != nil { + // return err + // } return nil } @@ -399,7 +399,7 @@ func (c *localConfigurator) configureContainerdDaemonService(endpoint, hostTomlF cfg := Hosts{ Server: url, HostConfigs: map[string]HostFileConfig{ - url: {CACert: registryCaCertPath, SkipServerVerify: true}, + url: {SkipServerVerify: true}, }, }