Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 5,440 for nameslice (0.27 sec)

  1. pilot/pkg/serviceregistry/serviceregistry_test.go

    	}
    	labels := map[string]string{
    		"app": "foo",
    	}
    	namespace := "namespace"
    	serviceEntry := config.Config{
    		Meta: config.Meta{
    			Name:             "service-entry",
    			Namespace:        namespace,
    			GroupVersionKind: gvk.ServiceEntry,
    			Domain:           "cluster.local",
    		},
    		Spec: &networking.ServiceEntry{
    			Hosts: []string{"service.namespace.svc.cluster.local"},
    			Ports: []*networking.ServicePort{port},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/testdata/injection-image-distroless.yaml

    # Namespace 'enabled-namespace' has istio injection enabled, so will be enforced.
    apiVersion: v1
    kind: Namespace
    metadata:
      labels:
        istio-injection: enabled
      name: enabled-namespace
    ---
    # Namespace 'enabled-namespace-2' has istio injection enabled, so will be enforced.
    apiVersion: v1
    kind: Namespace
    metadata:
      labels:
        istio-injection: enabled
      name: enabled-namespace-2
    ---
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 28 02:55:12 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. pilot/pkg/model/sidecar_test.go

    	}{
    		{"Just wildcard", []string{"*/*"}, allContains(nsName, true)},
    		{"Namespace and wildcard", []string{"ns/*", "*/*"}, allContains(nsName, true)},
    		{"Just Namespace", []string{"ns/*"}, allContains(nsName, true)},
    		{"Wrong Namespace", []string{"ns/*"}, allContains("other-ns", false)},
    		{"No Sidecar", nil, allContains("ns", true)},
    		{"No Sidecar Other Namespace", nil, allContains("other-ns", false)},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  4. pkg/registry/core/namespace/strategy.go

    	newNamespace := obj.(*api.Namespace)
    	oldNamespace := old.(*api.Namespace)
    	newNamespace.Spec.Finalizers = oldNamespace.Spec.Finalizers
    	newNamespace.Status = oldNamespace.Status
    }
    
    // Validate validates a new namespace.
    func (namespaceStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList {
    	namespace := obj.(*api.Namespace)
    	return validation.ValidateNamespace(namespace)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 07 08:51:17 UTC 2021
    - 8.3K bytes
    - Viewed (0)
  5. pilot/pkg/model/authorization_test.go

    			selectionOpts: WorkloadPolicyMatcher{
    				Namespace: "istio-config",
    			},
    			configs: []config.Config{
    				newConfig("authz-1", "istio-config", policy),
    			},
    			wantAllow: []AuthorizationPolicy{
    				{
    					Name:      "authz-1",
    					Namespace: "istio-config",
    					Spec:      policy,
    				},
    			},
    		},
    		{
    			name: "root namespace and config namespace",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. pkg/test/framework/components/echo/namespacedname.go

    	"sort"
    	"strings"
    
    	"istio.io/istio/pkg/test/framework/components/namespace"
    	"istio.io/istio/pkg/util/sets"
    )
    
    // NamespacedName represents the full name of a service.
    type NamespacedName struct {
    	// Namespace of the echo Instance. If not provided, a default namespace "apps" is used.
    	Namespace namespace.Instance
    
    	// Name of the service within the Namespace.
    	Name string
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 23:42:29 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  7. istioctl/pkg/injector/injector-list.go

    func printNS(writer io.Writer, namespaces []corev1.Namespace, hooks []admitv1.MutatingWebhookConfiguration,
    	allPods map[resource.Namespace][]corev1.Pod,
    ) error {
    	outputCount := 0
    
    	w := new(tabwriter.Writer).Init(writer, 0, 8, 1, ' ', 0)
    	for _, namespace := range namespaces {
    		revision := getInjectedRevision(&namespace, hooks)
    		podCount := podCountByRevision(allPods[resource.Namespace(namespace.Name)], revision)
    		if len(podCount) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 04 03:08:06 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. pkg/kube/krt/collection_test.go

    	tt.WaitUnordered("add/namespace/name")
    
    	pc.Delete(pod.Name, pod.Namespace)
    	assert.EventuallyEqual(t, fetcherSorted(SimplePods), nil)
    	tt.WaitUnordered("delete/namespace/name")
    }
    
    func TestCollectionInitialState(t *testing.T) {
    	c := kube.NewFakeClient(
    		&corev1.Pod{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      "pod",
    				Namespace: "namespace",
    				Labels:    map[string]string{"app": "foo"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. pkg/test/helm/helm.go

    func (h *Helm) DeleteChart(name, namespace string) error {
    	command := fmt.Sprintf("helm delete %s --namespace %s --kubeconfig %s", name, namespace, h.kubeConfig)
    	_, err := execCommand(command)
    	return err
    }
    
    // Template runs the template command and applies the generated file with kubectl
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 23 19:25:43 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/testdata/injection-image-distroless-no-meshconfig.yaml

    apiVersion: v1
    kind: Namespace
    metadata:
      labels:
        istio-injection: enabled
      name: ns-override
    ---
    apiVersion: v1
    kind: Namespace
    metadata:
      labels:
        istio-injection: enabled
      name: workload-override
    ---
    # ProxyConfig for root namespace
    apiVersion: networking.istio.io/v1beta1
    kind: ProxyConfig
    metadata:
      name: valid-example-pc
      namespace: istio-system
    ---
    # ProxyConfig for ns-override namespace
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 12 15:31:54 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top