Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for DefaultConfigOrFail (0.34 sec)

  1. tests/integration/security/external_ca/reachability_test.go

    func TestReachability(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			istioCfg := istio.DefaultConfigOrFail(t, t)
    			namespace.ClaimOrFail(t, t, istioCfg.SystemNamespace)
    
    			from := apps.EchoNamespace.A
    			to := apps.EchoNamespace.B
    			fromAndTo := from.Append(to)
    
    			echotest.New(t, fromAndTo).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. pkg/test/framework/components/istio/config.go

    	}
    
    	if s.OperatorOptions, err = parseConfigOptions(operatorOptions); err != nil {
    		return Config{}, err
    	}
    
    	return s, nil
    }
    
    // DefaultConfigOrFail calls DefaultConfig and fails t if an error occurs.
    func DefaultConfigOrFail(t test.Failer, ctx resource.Context) Config {
    	cfg, err := DefaultConfig(ctx)
    	if err != nil {
    		t.Fatalf("Get istio config: %v", err)
    	}
    	return cfg
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 20:33:28 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. tests/integration/ambient/cacert_rotation_test.go

    )
    
    func TestIntermediateCertificateRefresh(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			t.Skip("https://github.com/istio/istio/issues/49648")
    			istioCfg := istio.DefaultConfigOrFail(t, t)
    			istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{})
    			namespace.ClaimOrFail(t, t, istioCfg.SystemNamespace)
    			newX509 := getX509FromFile(t, "ca-cert-alt-2.pem")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. tests/integration/security/cacert_rotation/main_test.go

            PROXY_CONFIG_XDS_AGENT: "true"
    `
    	cfg.ControlPlaneValues = cfgYaml
    }
    
    func TestReachability(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			istioCfg := istio.DefaultConfigOrFail(t, t)
    			istioCtl := istioctl.NewOrFail(t, t, istioctl.Config{})
    			namespace.ClaimOrFail(t, t, istioCfg.SystemNamespace)
    
    			from := apps.EchoNamespace.A
    			to := apps.EchoNamespace.B
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. tests/integration/security/ca_custom_root/secure_naming_test.go

    //
    // - Secure naming information is respected in the mTLS handshake.
    func TestSecureNaming(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			istioCfg := istio.DefaultConfigOrFail(t, t)
    
    			testNamespace := apps.EchoNamespace.Namespace
    			namespace.ClaimOrFail(t, t, istioCfg.SystemNamespace)
    			// Check that the CA certificate in the configmap of each namespace is as expected, which
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. tests/integration/security/sds_ingress/util/util.go

    	ingressType CallType, ingressCred IngressCredential, isCompoundAndNotGeneric bool, clusters ...cluster.Cluster,
    ) {
    	t.Helper()
    
    	// Get namespace for ingress gateway pod.
    	istioCfg := istio.DefaultConfigOrFail(t, t)
    	systemNS := namespace.ClaimOrFail(t, t, istioCfg.SystemNamespace)
    	CreateIngressKubeSecretInNamespace(t, credName, ingressType, ingressCred, isCompoundAndNotGeneric, systemNS.Name(), clusters...)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 05:12:36 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  7. tests/integration/security/filebased_tls_origination/egress_gateway_origination_test.go

    	}
    	if fakeRootCert {
    		rootCertPathToUse = "/etc/certs/custom/fake-root-cert.pem"
    	} else {
    		rootCertPathToUse = "/etc/certs/custom/root-cert.pem"
    	}
    	istioCfg := istio.DefaultConfigOrFail(t, t)
    	systemNamespace := namespace.ClaimOrFail(t, t, istioCfg.SystemNamespace)
    	args := map[string]string{
    		"AppNamespace": serviceNamespace.Name(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. tests/integration/security/egress_gateway_origination_test.go

    	args := map[string]any{
    		"to":             to,
    		"Mode":           destinationRuleMode,
    		"CredentialName": credentialName,
    	}
    
    	// Get namespace for gateway pod.
    	istioCfg := istio.DefaultConfigOrFail(t, t)
    	systemNS := namespace.ClaimOrFail(t, t, istioCfg.SystemNamespace)
    
    	dr := `
    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top