Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 93 for NamespaceId (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/admission_test.go

    		{
    			"subresource",
    			admission.NewAttributesRecord(nil, nil, schema.GroupVersionKind{}, "namespace", "name", schema.GroupVersionResource{}, "subresource", admission.Create, nil, false, nil),
    		},
    		{
    			"non-namespaced resource",
    			admission.NewAttributesRecord(nil, nil, schema.GroupVersionKind{}, "", "namespace", schema.GroupVersionResource{}, "", admission.Create, nil, false, nil),
    		},
    		{
    			"namespace creation",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 23 10:34:50 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  2. cluster/addons/addon-manager/CHANGELOG.md

     - Added support for ConfigMap and upgraded kubectl version to v1.4.4 (pr #35255)
    
    ### Version 5.1 (Mon Jul 4 2016 Marek Grabowski <******@****.***>)
     - Fixed the way addon-manager handles non-namespaced objects
    
    ### Version 5 (Fri Jun 24 2016 Jerzy Szczepkowski @jszczepkowski)
     - Added PetSet support to addon manager
    
    ### Version 4 (Tue Jun 21 2016 Mike Danese @mikedanese)
     - Increased addon check interval
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 15 01:39:45 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. tests/integration/pilot/testdata/mcs-serviceimport-crd.yaml

    # limitations under the License.
    apiVersion: apiextensions.k8s.io/v1
    kind: CustomResourceDefinition
    metadata:
      name: serviceimports.{{ .Group }}
    spec:
      group: {{ .Group }}
      scope: Namespaced
      names:
        plural: serviceimports
        singular: serviceimport
        kind: ServiceImport
        shortNames:
        - svcim
      versions:
      - name: {{ .Version }}
        served: true
        storage: true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 00:51:29 UTC 2021
    - 7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/audit/policy/checker.go

    	if !attrs.IsResourceRequest() {
    		return false
    	}
    
    	if len(r.Namespaces) > 0 {
    		if !hasString(r.Namespaces, attrs.GetNamespace()) { // Non-namespaced resources use the empty string.
    			return false
    		}
    	}
    	if len(r.Resources) == 0 {
    		return true
    	}
    
    	apiGroup := attrs.GetAPIGroup()
    	resource := attrs.GetResource()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 02 22:24:14 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/testdata/deployment-multi-service.yaml

    apiVersion: v1
    kind: Namespace
    metadata:
      name: injection-disabled-ns
    spec: {}
    ---
    # Deployment has multiple service attached but using same port but different protocol.
    # Sidecar is enabled although the namespaced doesn't have automatic injection.
    # It should generate a warning.
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: ann-enabled-ns-disabled
      namespace: injection-disabled-ns
      labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 21:52:53 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. pkg/config/crd/validator.go

    	defer iv.mu.Unlock()
    	if iv.patternsByNamespace[namespace] == nil {
    		iv.patternsByNamespace[namespace] = sets.String{}
    	}
    	iv.patternsByNamespace[namespace].Insert(pattern)
    }
    
    // ShouldIgnore checks if a given namespaced name should be ignored based on the patterns.
    func (iv *ValidationIgnorer) ShouldIgnore(namespace, name string) bool {
    	iv.mu.RLock()
    	defer iv.mu.RUnlock()
    
    	patterns, exists := iv.patternsByNamespace[namespace]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 15:38:40 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  7. pkg/controller/storageversionmigrator/resourceversion.go

    	if err != nil {
    		return false, err
    	}
    
    	for _, resource := range resourceList.APIResources {
    		if resource.Name == gvr.Resource {
    			return resource.Namespaced, nil
    		}
    	}
    
    	return false, fmt.Errorf("resource %q not found", gvr.String())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/apidiscovery/v2/generated.proto

      optional .k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind responseKind = 2;
    
      // scope indicates the scope of a resource, either Cluster or Namespaced
      optional string scope = 3;
    
      // singularResource is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/apidiscovery/v2beta1/generated.proto

      optional k8s.io.apimachinery.pkg.apis.meta.v1.GroupVersionKind responseKind = 2;
    
      // scope indicates the scope of a resource, either Cluster or Namespaced
      optional string scope = 3;
    
      // singularResource is the singular name of the resource.  This allows clients to handle plural and singular opaquely.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/internal/generic/controller.go

    	namespace, name, err = cache.SplitMetaNamespaceKey(key)
    	if err != nil {
    		utilruntime.HandleError(fmt.Errorf("invalid resource key: %s", key))
    		return nil
    	}
    
    	if len(namespace) > 0 {
    		lister = c.informer.Namespaced(namespace)
    	} else {
    		lister = c.informer
    	}
    
    	newObj, err = lister.Get(name)
    	if err != nil {
    		if !kerrors.IsNotFound(err) {
    			return err
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top