Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createCAClient (0.3 sec)

  1. pkg/istio-agent/plugins.go

    	// Otherwise assume the injection has mounted /etc/certs/root-cert.pem
    	return citadel.NewCitadelClient(opts, tlsOpts)
    }
    
    func init() {
    	providers["Citadel"] = createCitadel
    }
    
    func createCAClient(opts *security.Options, a RootCertProvider) (security.Client, error) {
    	provider, ok := providers[opts.CAProviderName]
    	if !ok {
    		return nil, fmt.Errorf("CA provider %q not registered", opts.CAProviderName)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 11 03:32:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. pkg/istio-agent/agent.go

    		return cache.NewSecretManagerClient(nil, a.secOpts)
    	}
    	log.Infof("CA Endpoint %s, provider %s", a.secOpts.CAEndpoint, a.secOpts.CAProviderName)
    
    	caClient, err := createCAClient(a.secOpts, a)
    	if err != nil {
    		return nil, err
    	}
    	return cache.NewSecretManagerClient(caClient, a.secOpts)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 10:02:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
Back to top