- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for CheckWorkloadCertificate (0.49 sec)
-
pilot/cmd/pilot-agent/options/security.go
log.Infof("using credential fetcher of %s type in %s trust domain", credFetcherTypeEnv, o.TrustDomain) o.CredFetcher = credFetcher if o.CAProviderName == security.GkeWorkloadCertificateProvider { if !security.CheckWorkloadCertificate(security.GkeWorkloadCertChainFilePath, security.GkeWorkloadKeyFilePath, security.GkeWorkloadRootCertFilePath) { return nil, fmt.Errorf("GKE workload certificate files (%v, %v, %v) not present",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 4.7K bytes - Viewed (0) -
pkg/security/security.go
return cert } } istiolog.Warn("OS CA Cert could not be found for agent") return "" } // CheckWorkloadCertificate returns true when the workload certificate // files are present under the provided paths. Otherwise, return false. func CheckWorkloadCertificate(certChainFilePath, keyFilePath, rootCertFilePath string) bool { if _, err := os.Stat(certChainFilePath); err != nil { return false }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 19.1K bytes - Viewed (0) -
pkg/istio-agent/agent.go
a.wg.Add(1) go func() { defer a.wg.Done() <-ctx.Done() }() } return a.wg.Wait, nil } func (a *Agent) initSdsServer() error { var err error if security.CheckWorkloadCertificate(security.WorkloadIdentityCertChainPath, security.WorkloadIdentityKeyPath, security.WorkloadIdentityRootCertPath) { log.Info("workload certificate files detected, creating secret manager without caClient")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 10:02:56 UTC 2024 - 26.7K bytes - Viewed (0)