Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for namespaceResource (0.2 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/rules/rules.go

    		return r.Attr.GetResource() != namespaceResource && r.Attr.GetNamespace() != metav1.NamespaceNone
    	case v1.ClusterScope:
    		// also return true if the request is for a namespace object (namespace objects are cluster-scoped)
    		return r.Attr.GetResource() == namespaceResource || r.Attr.GetNamespace() == metav1.NamespaceNone
    	default:
    		return false
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 21:38:55 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/injection/injection-image.go

    		return
    	}
    
    	injectedNamespaces := make(map[string]string)
    	namespaceMismatchedPods := make(map[string][]string)
    	namespaceResources := make(map[string]*resource.Instance)
    	// Collect the list of namespaces that have istio injection enabled.
    	c.ForEach(gvk.Namespace, func(r *resource.Instance) bool {
    		namespaceResources[r.Metadata.FullName.String()] = r
    		nsRevision, okNewInjectionLabel := r.Metadata.Labels[RevisionInjectionLabelName]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top