Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 161 for It (0.21 sec)

  1. pkg/config/analysis/msg/messages.yaml

        description: "A namespace is not enabled for Istio injection."
        template: "The namespace is not enabled for Istio injection. Run 'kubectl label namespace %s istio-injection=enabled' to enable it, or 'kubectl label namespace %s istio-injection=disabled' to explicitly mark it as not needing injection."
        args:
          - name: namespace
            type: string
          - name: namespace2
            type: string
    
      - name: "PodMissingProxy"
        code: IST0103
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. pilot/pkg/autoregistration/controller_test.go

    	stop := test.NewStop(t)
    
    	c := NewController(store, "pilot-x", keepalive.Infinity)
    	go c.Run(stop)
    
    	proxy := fakeProxySuitableForHealthChecks(weB)
    	// change proxy metadata to make it unsuitable for health checks
    	proxy.Metadata.WorkloadEntry = "non-exisiting-workload-entry"
    
    	err := c.OnConnect(makeConn(proxy, time.Now()))
    	assert.Error(t, err)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 00:00:36 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  3. pkg/kube/inject/inject_test.go

    	"istio.io/istio/pkg/platform"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // TestInjection tests both the mutating webhook and kube-inject. It does this by sharing the same input and output
    // test files and running through the two different code paths.
    func TestInjection(t *testing.T) {
    	type testCase struct {
    		in            string
    		want          string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. pilot/pkg/security/authz/builder/extauthz.go

    		}
    	}
    	checkWildcard := func(field string, values []string) {
    		for _, val := range values {
    			if val == "*" {
    				errs = multierror.Append(errs, fmt.Errorf("a single wildcard (\"*\") is not supported, change it to either prefix or suffix match: %s", field))
    			}
    		}
    	}
    	checkWildcard("IncludeRequestHeadersInCheck", config.IncludeRequestHeadersInCheck)
    	//nolint: staticcheck
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. pilot/pkg/model/extensions.go

    	if matcher.ShouldAttachPolicy(gvk.WasmPlugin, p.NamespacedName(), p) {
    		return matchTrafficSelectors(p.Match, li)
    	}
    
    	// If it doesn't match one of the above cases, the plugin is not bound to this workload
    	return false
    }
    
    func (p *WasmPluginWrapper) NamespacedName() types.NamespacedName {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. pkg/xds/server.go

    	// nolint
    	TypeUrl string
    
    	// ResourceNames tracks the list of resources that are actively watched.
    	// For LDS and CDS, all resources of the TypeUrl type are watched if it is empty.
    	// For endpoints the resource names will have list of clusters and for clusters it is empty.
    	// For Delta Xds, all resources of the TypeUrl that a client has subscribed to.
    	ResourceNames []string
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. operator/pkg/apis/istio/v1alpha1/validation/validation.go

    			validationErrors = append(validationErrors, r...)
    		}
    	}
    	// If it is not a struct nothing to do, returning previously collected validation errors
    	if e.Kind() != reflect.Struct {
    		return validationErrors
    	}
    	for i := 0; i < e.NumField(); i++ {
    		// Corner case of a slice of something, if something is defined type, then process it recursively.
    		if e.Field(i).Kind() == reflect.Slice {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 20:02:28 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. pkg/istio-agent/agent_test.go

    		}
    	}
    }
    
    func TestAgent(t *testing.T) {
    	test.SetForTest(t, &version.Info.Version, "version")
    
    	wd := t.TempDir()
    	mktemp := t.TempDir
    	// Normally we call leak checker first. Here we call it after TempDir to avoid the (extremely
    	// rare) race condition of a certificate being written at the same time the cleanup occurs, which
    	// causes the test to fail. By checking for the leak first, we ensure all of our activities have
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  9. pilot/pkg/features/pilot.go

    			"It is safe to disable it if you are quite sure you don't need this feature").Get()
    
    	EnableK8SServiceSelectWorkloadEntries = env.RegisterBoolVar("PILOT_ENABLE_K8S_SELECT_WORKLOAD_ENTRIES", true,
    		"If enabled, Kubernetes services with selectors will select workload entries with matching labels. "+
    			"It is safe to disable it if you are quite sure you don't need this feature").Get()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster_traffic_policy.go

    	if connectionPool != nil && connectionPool.Http != nil {
    		override := connectionPool.Http.H2UpgradePolicy
    		// If user wants an upgrade at destination rule/port level that means he is sure that
    		// it is a Http port - upgrade in such case. This is useful incase protocol sniffing is
    		// enabled and user wants to upgrade/preserve http protocol from client.
    		if override == networking.ConnectionPoolSettings_HTTPSettings_UPGRADE {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 20K bytes
    - Viewed (0)
Back to top