Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ClaimSystemNamespaceOrFail (0.45 sec)

  1. pkg/test/framework/components/echo/config/builder.go

    // parameters: "From", "To", or "Namespace".
    func (b *Builder) BuildCompleteSources() *Builder {
    	b.t.Helper()
    	out := b.Copy()
    
    	systemNS := istio.ClaimSystemNamespaceOrFail(out.t, out.t)
    
    	// Build all the complete config that doesn't require well-known parameters.
    	for _, s := range out.complete {
    		out.addYAML(withParams(s, param.Params{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 23:42:29 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  2. pkg/test/framework/components/istio/config.go

    		Inject: false,
    		// Already handled directly
    		SkipDump:    true,
    		SkipCleanup: true,
    	}
    	return namespace.Claim(ctx, nsCfg)
    }
    
    // ClaimSystemNamespaceOrFail calls ClaimSystemNamespace, failing the test if an error occurs.
    func ClaimSystemNamespaceOrFail(t test.Failer, ctx resource.Context) namespace.Instance {
    	t.Helper()
    	i, err := ClaimSystemNamespace(ctx)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return i
    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/security/authz_test.go

    			config.New(t).
    				Source(config.File("testdata/authz/mtls.yaml.tmpl")).
    				Source(config.File("testdata/authz/deny-global.yaml.tmpl").WithParams(param.Params{
    					param.Namespace.String(): istio.ClaimSystemNamespaceOrFail(t, t),
    				})).
    				Source(config.File("testdata/authz/deny-principal.yaml.tmpl").WithParams(
    					param.Params{
    						"Denied": denied,
    					})).
    				BuildAll(nil, to).
    				Apply()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  4. tests/integration/security/reachability_test.go

    	cMinIstioVersion         = "1.15.0"
    	// cMinIstioVersionDS       = "1.16.0"
    )
    
    func TestReachability(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			systemNS := istio.ClaimSystemNamespaceOrFail(t, t)
    
    			integIstioVersion := cMinIstioVersion
    			var migrationApp echo.Instances
    			// if dual stack is enabled, a dual stack echo config should be added
    			if !t.Settings().EnableDualStack {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  5. tests/integration/security/jwt_test.go

    		Run(func(t framework.TestContext) {
    			config.New(t).
    				Source(config.File("testdata/requestauthn/global-jwt.yaml.tmpl").WithParams(param.Params{
    					param.Namespace.String(): istio.ClaimSystemNamespaceOrFail(t, t),
    					"Services":               apps.Ns1.All,
    					"GatewayIstioLabel":      i.Settings().IngressGatewayIstioLabel,
    				})).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  6. tests/integration/ambient/baseline_test.go

    func TestK8sNetPol(t *testing.T) {
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			t.Skip("https://github.com/istio/istio/issues/49301")
    			systemNM := istio.ClaimSystemNamespaceOrFail(t, t)
    
    			// configure a NetPol which will only allow HBONE traffic in the test app namespace
    			// we should figure out what our recommendation for NetPol will be and have this reflect it
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
Back to top