- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for bootstrapData (0.27 sec)
-
pkg/test/echo/server/endpoint/grpc.go
if !s.Port.XDSServer { return } var bootstrapData []byte if data := s.Port.XDSTestBootstrap; len(data) > 0 { bootstrapData = data } else if path := os.Getenv("GRPC_XDS_BOOTSTRAP"); len(path) > 0 { bootstrapData, err = os.ReadFile(path) } else if data := os.Getenv("GRPC_XDS_BOOTSTRAP_CONFIG"); len(data) > 0 { bootstrapData = []byte(data) } var bootstrap Bootstrap
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Sep 25 17:30:37 UTC 2023 - 8.7K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/grpcready/probe.go
type probe struct { sync.RWMutex bootstrapPath string bootstrap *grpcxds.Bootstrap } // NewProbe returns a probe that checks if a valid bootstrap file can be loaded once. // If that bootstrap file has a file_watcher cert provider, we also ensure those certs exist. func NewProbe(bootstrapPath string) ready.Prober { return &probe{bootstrapPath: bootstrapPath} } func (p *probe) Check() error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Oct 28 16:58:31 UTC 2021 - 1.9K bytes - Viewed (0) -
pkg/kubelet/certificate/bootstrap/bootstrap.go
// LoadClientConfig tries to load the appropriate client config for retrieving certs and for use by users. // If bootstrapPath is empty, only kubeconfigPath is checked. If bootstrap path is set and the contents // of kubeconfigPath are valid, both certConfig and userConfig will point to that file. Otherwise the // kubeconfigPath on disk is populated based on bootstrapPath but pointing to the location of the client cert
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 27 08:04:25 UTC 2022 - 14.2K bytes - Viewed (0) -
pkg/kubelet/certificate/bootstrap/bootstrap_test.go
tests := []struct { name string kubeconfigPath string bootstrapPath string certDir string expectedCertConfig *restclient.Config expectedClientConfig *restclient.Config }{ { name: "bootstrapPath is empty", kubeconfigPath: filevalid.Name(), bootstrapPath: "", certDir: dir, expectedCertConfig: &restclient.Config{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 09 14:24:11 UTC 2023 - 13K bytes - Viewed (0) -
pkg/istio-agent/agent_test.go
}) t.Run("gRPC XDS bootstrap", func(t *testing.T) { bootstrapPath := path.Join(mktemp(), "grpc-bootstrap.json") a := Setup(t, func(a AgentTest) AgentTest { a.Security.OutputKeyCertToDir = "/cert/path" a.AgentConfig.GRPCBootstrapPath = bootstrapPath a.envoyEnable = false return a }) generated, err := grpcxds.LoadBootstrap(bootstrapPath) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 22:12:28 UTC 2024 - 33.4K bytes - Viewed (0)