WIP: Phase 2 #2

Draft
dubey wants to merge 27 commits from phase2 into main
25 changed files with 2370 additions and 38 deletions
Showing only changes of commit 641a2f09d3 - Show all commits

View File

@ -95,7 +95,8 @@ func JoinCluster(leaderAPI, advertiseAddr, nodeName, leaderCACert string, pkiDir
// Configure TLS
client.Transport = &http.Transport{
TLSClientConfig: &tls.Config{
RootCAs: caCertPool,
RootCAs: caCertPool,
InsecureSkipVerify: true, // Skip hostname verification for initial join
},
}
} else {