- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for createCASecret (0.36 sec)
-
pilot/pkg/bootstrap/istio_ca_test.go
err := s.loadCACerts(caOpts, dir) g.Expect(err).Should(BeNil()) _, err = os.Stat(path.Join(dir, "root-cert.pem")) g.Expect(os.IsNotExist(err)).Should(Equal(true)) // Should load remote cacerts successfully. createCASecret(t, s.kubeClient) err = s.loadCACerts(caOpts, dir) g.Expect(err).Should(BeNil()) expectedRoot, err := readSampleCertFromFile("root-cert.pem") g.Expect(err).Should(BeNil())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 4.3K bytes - Viewed (0) -
tests/integration/security/util/cert/cert.go
if err := json.Unmarshal([]byte(rr), &s); err != nil { t.Fatalf("failed to unmarshal: %v", err) } certs = append(certs, s) } return certs } // CreateCASecret creates a k8s secret "cacerts" to store the CA key and cert. func CreateCASecret(ctx resource.Context) error { return CreateCustomCASecret(ctx, "ca-cert.pem", "ca-key.pem", "cert-chain.pem", "root-cert.pem") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 15 16:44:37 UTC 2023 - 6.2K bytes - Viewed (0) -
tests/integration/security/cacert_rotation/main_test.go
) var apps deployment.SingleNamespaceView func TestMain(m *testing.M) { framework. NewSuite(m). Label(label.CustomSetup). Setup(istio.Setup(nil, setupConfig, cert.CreateCASecret)). Setup(deployment.SetupSingleNamespace(&apps, deployment.Config{})). Setup(func(ctx resource.Context) error { return reachability.CreateCustomInstances(&apps) }). Run() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 6.6K bytes - Viewed (0) -
tests/integration/security/ca_custom_root/main_test.go
func TestMain(m *testing.M) { framework. NewSuite(m). // k8s is required because the plugin CA key and certificate are stored in a k8s secret. Label(label.CustomSetup). Setup(istio.Setup(&inst, setupConfig, cert.CreateCASecret)). Setup(namespace.Setup(&echo1NS, namespace.Config{Prefix: "echo1", Inject: true})). Setup(func(ctx resource.Context) error { err := SetupApps(ctx, namespace.Future(&echo1NS), &customConfig) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 9.2K bytes - Viewed (0)