Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for setupConfig (0.23 sec)

  1. tests/integration/security/remote_jwks/main_test.go

    // remote_jwks is to test fully delegating Envoy to fetch JWKs server (PILOT_JWT_ENABLE_REMOTE_JWKS: envoy).
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		Label(label.CustomSetup).
    		Setup(istio.Setup(&ist, setupConfig)).
    		Setup(func(ctx resource.Context) error {
    			var err error
    			systemNs, err = istio.ClaimSystemNamespace(ctx)
    			return err
    		}).
    		Setup(namespace.Setup(&echoNS, namespace.Config{Prefix: "echo1", Inject: true})).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 01:47:52 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. tests/integration/security/fuzz/main_test.go

    	"istio.io/istio/pkg/test/framework/resource"
    )
    
    var ist istio.Instance
    
    func TestMain(m *testing.M) {
    	framework.NewSuite(m).Setup(istio.Setup(&ist, setupConfig)).Run()
    }
    
    func setupConfig(ctx resource.Context, cfg *istio.Config) {
    	if cfg == nil {
    		return
    	}
    
    	cfg.ControlPlaneValues = `
    meshConfig:
      accessLogFile: /dev/stdout
      pathNormalization:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 18 02:28:30 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  3. tests/integration/security/ecc_signature_algorithm/main_test.go

    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		// Needed as it requires an environmental variable
    		Label(label.CustomSetup).
    		Setup(istio.Setup(&inst, setupConfig)).
    		Setup(deployment.SetupSingleNamespace(&apps, deployment.Config{})).
    		Run()
    }
    
    func setupConfig(_ resource.Context, cfg *istio.Config) {
    	if cfg == nil {
    		return
    	}
    	cfg.ControlPlaneValues = `
    values:
      meshConfig:
        defaultConfig:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 05 22:29:44 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. tests/integration/telemetry/tracing/zipkin/main_test.go

    )
    
    func TestMain(m *testing.M) {
    	framework.NewSuite(m).
    		Label(label.CustomSetup).
    		Setup(istio.Setup(tracing.GetIstioInstance(), setupConfig)).
    		Setup(tracing.TestSetup).
    		Run()
    }
    
    func setupConfig(ctx resource.Context, cfg *istio.Config) {
    	if cfg == nil {
    		return
    	}
    	cfg.Values["meshConfig.enableTracing"] = "true"
    	cfg.Values["pilot.traceSampling"] = "100.0"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 07 16:59:18 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. tests/integration/security/https_jwt/main_test.go

    	jwtServer jwt.Server
    	echoNS    namespace.Instance
    	systemNs  namespace.Instance
    )
    
    func TestMain(m *testing.M) {
    	framework.
    		NewSuite(m).
    		Label(label.CustomSetup).
    		Setup(istio.Setup(&ist, setupConfig)).
    		Setup(func(ctx resource.Context) error {
    			var err error
    			systemNs, err = istio.ClaimSystemNamespace(ctx)
    			return err
    		}).
    		Setup(namespace.Setup(&echoNS, namespace.Config{Prefix: "echo1", Inject: true})).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 17 09:55:58 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. tests/integration/telemetry/api/setup_test.go

    		Label(label.CustomSetup).
    		// TODO: Remove this restriction once we validate our prometheus helm chart version is high enough
    		Label(label.IPv4). // https://github.com/istio/istio/issues/35915
    		Setup(istio.Setup(&ist, setupConfig)).
    		Setup(func(ctx resource.Context) error {
    			i, err := istio.Get(ctx)
    			if err != nil {
    				return err
    			}
    			return ctx.ConfigIstio().YAML(i.Settings().SystemNamespace, `
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. tests/integration/security/sds_ingress/ingress_test.go

    			for _, instances := range allInstances {
    				echotest.New(t, instances).
    					SetupForDestination(func(t framework.TestContext, to echo.Target) error {
    						ingressutil.SetupConfig(t, echo1NS, ingressutil.TestConfig{
    							Mode:           "SIMPLE",
    							CredentialName: credName,
    							Host:           host,
    							ServiceName:    to.Config().Service,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. tests/integration/telemetry/tracing/otelcollector/tracing_test.go

    }
    
    func TestMain(m *testing.M) {
    	framework.NewSuite(m).
    		Label(label.CustomSetup).
    		Setup(istio.Setup(tracing.GetIstioInstance(), setupConfig)).
    		Setup(tracing.TestSetup).
    		Setup(testSetup).
    		Run()
    }
    
    // TODO: convert test to Telemetry API for both scenarios
    func setupConfig(_ resource.Context, cfg *istio.Config) {
    	if cfg == nil {
    		return
    	}
    	cfg.ControlPlaneValues = `
    meshConfig:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 22:56:30 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. tests/integration/security/filebased_tls_origination/main_test.go

    	serviceNS       namespace.Instance
    	customConfig    []echo.Config
    )
    
    func TestMain(m *testing.M) {
    	// nolint: staticcheck
    	framework.
    		NewSuite(m).
    		Label(label.CustomSetup).
    		Setup(istio.Setup(&inst, setupConfig, cert.CreateCustomEgressSecret)).
    		Setup(namespace.Setup(&appNS, namespace.Config{Prefix: "appns", Inject: true})).
    		Setup(namespace.Setup(&serviceNS, namespace.Config{Prefix: "serverns", Inject: true})).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. tests/integration/security/cacert_rotation/main_test.go

    	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()
    }
    
    func setupConfig(_ resource.Context, cfg *istio.Config) {
    	if cfg == nil {
    		return
    	}
    	cfgYaml := `
    values:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top