Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,469 for nAmespace (0.32 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/namespace.go

    	return extractNamespace(namespace, fieldManager, "status")
    }
    
    func extractNamespace(namespace *apicorev1.Namespace, fieldManager string, subresource string) (*NamespaceApplyConfiguration, error) {
    	b := &NamespaceApplyConfiguration{}
    	err := managedfields.ExtractInto(namespace, internal.Parser().Type("io.k8s.api.core.v1.Namespace"), fieldManager, b, subresource)
    	if err != nil {
    		return nil, err
    	}
    	b.WithName(namespace.Name)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 12K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/testdata/route-binding.yaml.golden

      creationTimestamp: null
      name: bind-cross-namespace-2-istio-autogenerated-k8s-gateway
      namespace: group-namespace1
    spec:
      gateways:
      - istio-system/gateway-istio-autogenerated-k8s-gateway-slctr-labels
      hosts:
      - '*'
      http:
      - name: group-namespace1.bind-cross-namespace.0
        route:
        - destination:
            host: httpbin.group-namespace1.svc.domain.suffix
            port:
              number: 86
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 11 20:21:53 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  3. pkg/controller/namespace/deletion/namespaced_resources_deleter_test.go

    	numTries := 0
    	retryOnce := func(ctx context.Context, namespace *v1.Namespace) (*v1.Namespace, error) {
    		numTries++
    		if numTries <= 1 {
    			return namespace, errors.NewConflict(api.Resource("namespaces"), namespace.Name, fmt.Errorf("ERROR"))
    		}
    		return namespace, nil
    	}
    	namespace := &v1.Namespace{}
    	d := namespacedResourcesDeleter{
    		nsClient: mockClient.CoreV1().Namespaces(),
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle/admission_test.go

    	}
    	if getCalls != 0 {
    		t.Errorf("Expected no live lookups of the namespace, got %d", getCalls)
    	}
    	getCalls = 0
    
    	// verify delete of namespace can proceed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  5. istioctl/pkg/injector/injector-list.go

    	retval := make([]corev1.Namespace, 0, len(namespaces))
    	seen := sets.String{}
    	for _, webhook := range hook.Webhooks {
    		nsSelector, err := metav1.LabelSelectorAsSelector(webhook.NamespaceSelector)
    		if err != nil {
    			return retval
    		}
    
    		for _, namespace := range namespaces {
    			if !seen.Contains(namespace.Name) && nsSelector.Matches(api_pkg_labels.Set(namespace.Labels)) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 04 03:08:06 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. pkg/controller/namespace/deletion/namespaced_resources_deleter.go

    	namespaceFinalize := v1.Namespace{}
    	namespaceFinalize.ObjectMeta = namespace.ObjectMeta
    	namespaceFinalize.Spec = namespace.Spec
    	finalizerSet := sets.NewString()
    	for i := range namespace.Spec.Finalizers {
    		if namespace.Spec.Finalizers[i] != d.finalizerToken {
    			finalizerSet.Insert(string(namespace.Spec.Finalizers[i]))
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  7. tools/bug-report/pkg/cluster/cluster_test.go

    			"tested namespace not skip 2",
    			&v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    					Namespace: "in-namespace1",
    				},
    			},
    			&config2.BugReportConfig{
    				Include: []*config2.SelectionSpec{
    					{
    						Namespaces: []string{"in*"},
    					},
    				},
    				Exclude: []*config2.SelectionSpec{
    					{
    						Namespaces: []string{"ex*"},
    					},
    				},
    			},
    			false,
    		},
    		{
    			"tested namespace not skip 3",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 06 17:23:32 UTC 2023
    - 11K bytes
    - Viewed (0)
  8. istioctl/pkg/waypoint/waypoint.go

    				return fmt.Errorf("failed to create Kubernetes client: %v", err)
    			}
    			ns := ctx.NamespaceOrDefault(ctx.Namespace())
    			// If a user decides to enroll their namespace with a waypoint, verify that they have labeled their namespace as ambient.
    			// If they don't, the user will be warned and be presented with the command to label their namespace as ambient if they
    			// choose to do so.
    			//
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/gateway/conversion_test.go

    	},
    	{
    		Attributes: model.ServiceAttributes{
    			Namespace: "group-namespace1",
    		},
    		Ports:    ports,
    		Hostname: "httpbin.group-namespace1.svc.domain.suffix",
    	},
    	{
    		Attributes: model.ServiceAttributes{
    			Namespace: "group-namespace2",
    		},
    		Ports:    ports,
    		Hostname: "httpbin.group-namespace2.svc.domain.suffix",
    	},
    	{
    		Attributes: model.ServiceAttributes{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 34.9K bytes
    - Viewed (0)
  10. pkg/registry/core/namespace/storage/storage_test.go

    	}
    	actual := object.(*api.Namespace)
    	if actual.Name != namespace.Name {
    		t.Errorf("unexpected namespace: %#v", actual)
    	}
    	if len(actual.UID) == 0 {
    		t.Errorf("expected namespace UID to be set: %#v", actual)
    	}
    	if actual.Status.Phase != api.NamespaceActive {
    		t.Errorf("expected namespace phase to be set to active, but %v", actual.Status.Phase)
    	}
    }
    
    func TestDelete(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 17 05:13:34 UTC 2022
    - 19.8K bytes
    - Viewed (0)
Back to top