Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for networkpolicies (0.26 sec)

  1. cluster/addons/calico-policy-controller/networkpolicies-crd.yaml

    apiVersion: apiextensions.k8s.io/v1
    kind: CustomResourceDefinition
    metadata:
      labels:
        addonmanager.kubernetes.io/mode: Reconcile
      name: networkpolicies.crd.projectcalico.org
    spec:
      group: crd.projectcalico.org
      names:
        kind: NetworkPolicy
        listKind: NetworkPolicyList
        plural: networkpolicies
        singular: networkpolicy
      scope: Namespaced
      versions:
      - name: v1
        schema:
          openAPIV3Schema:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 20:48:43 UTC 2021
    - 44.2K bytes
    - Viewed (0)
  2. pkg/registry/networking/networkpolicy/storage/storage.go

    	"k8s.io/kubernetes/pkg/registry/networking/networkpolicy"
    )
    
    // REST implements a RESTStorage for NetworkPolicies against etcd.
    type REST struct {
    	*genericregistry.Store
    }
    
    // NewREST returns a RESTStorage object that will work against NetworkPolicies.
    func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error) {
    	store := &genericregistry.Store{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. pkg/config/schema/kubeclient/common_test.go

    )
    
    func TestCustomRegistration(t *testing.T) {
    	Register[*v1.NetworkPolicy](
    		v1.SchemeGroupVersion.WithResource("networkpolicies"),
    		v1.SchemeGroupVersion.WithKind("NetworkPolicy"),
    		func(c ClientGetter, namespace string, o metav1.ListOptions) (runtime.Object, error) {
    			return c.Kube().NetworkingV1().NetworkPolicies(namespace).List(context.Background(), o)
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 16:38:40 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. cluster/addons/calico-policy-controller/calico-clusterrole.yaml

          - patch
          # Calico stores some configuration information in node annotations.
          - update
      # Watch for changes to Kubernetes NetworkPolicies.
      - apiGroups: ["networking.k8s.io"]
        resources:
          - networkpolicies
        verbs:
          - watch
          - list
      # Used by Calico for policy information.
      - apiGroups: [""]
        resources:
          - pods
          - namespaces
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 26 02:52:06 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  5. cluster/addons/kube-network-policies/kube-network-policies-rbac.yaml

        resources:
          - pods
          - nodes
          - namespaces
        verbs:
          - get
          - watch
          - list
      # Watch for changes to Kubernetes NetworkPolicies.
      - apiGroups: ["networking.k8s.io"]
        resources:
          - networkpolicies
        verbs:
          - watch
          - list
    ---
    kind: ClusterRoleBinding
    apiVersion: rbac.authorization.k8s.io/v1
    metadata:
      name: kube-network-policies
      labels:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 21 10:01:31 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. pkg/kube/krt/informer_test.go

    	}
    	c := kube.NewFakeClient(np)
    
    	kubeclient.Register[*v1.NetworkPolicy](
    		v1.SchemeGroupVersion.WithResource("networkpolicies"),
    		v1.SchemeGroupVersion.WithKind("NetworkPolicy"),
    		func(c kubeclient.ClientGetter, namespace string, o metav1.ListOptions) (runtime.Object, error) {
    			return c.Kube().NetworkingV1().NetworkPolicies(namespace).List(context.Background(), o)
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 16:38:40 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. api/discovery/apis__networking.k8s.io__v1.json

          "namespaced": true,
          "singularName": "",
          "verbs": [
            "get",
            "patch",
            "update"
          ]
        },
        {
          "kind": "NetworkPolicy",
          "name": "networkpolicies",
          "namespaced": true,
          "shortNames": [
            "netpol"
          ],
          "singularName": "networkpolicy",
          "storageVersionHash": "YpfwF18m1G8=",
          "verbs": [
            "create",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 15 18:18:19 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. pkg/registry/networking/networkpolicy/strategy.go

    // networkPolicyStrategy implements verification logic for NetworkPolicies
    type networkPolicyStrategy struct {
    	runtime.ObjectTyper
    	names.NameGenerator
    }
    
    // Strategy is the default logic that applies when creating and updating NetworkPolicy objects.
    var Strategy = networkPolicyStrategy{legacyscheme.Scheme, names.SimpleNameGenerator}
    
    // NamespaceScoped returns true because all NetworkPolicies need to be within a namespace.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. pkg/registry/networking/rest/storage_settings.go

    	storage := map[string]rest.Storage{}
    
    	// networkpolicies
    	if resource := "networkpolicies"; apiResourceConfigSource.ResourceEnabled(networkingapiv1.SchemeGroupVersion.WithResource(resource)) {
    		networkPolicyStorage, err := networkpolicystore.NewREST(restOptionsGetter)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:04 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. pkg/kubeapiserver/default_storage_factory_builder.go

    		c.DefaultStorageMediaType,
    		c.Serializer,
    		resourceEncodingConfig,
    		c.APIResourceConfig,
    		SpecialDefaultResourcePrefixes)
    
    	storageFactory.AddCohabitatingResources(networking.Resource("networkpolicies"), extensions.Resource("networkpolicies"))
    	storageFactory.AddCohabitatingResources(apps.Resource("deployments"), extensions.Resource("deployments"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 20:14:51 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top