...

Text file src/k8s.io/kubernetes/cluster/addons/calico-policy-controller/globalnetworksets-crd.yaml

Documentation: k8s.io/kubernetes/cluster/addons/calico-policy-controller

     1apiVersion: apiextensions.k8s.io/v1
     2kind: CustomResourceDefinition
     3metadata:
     4  labels:
     5    addonmanager.kubernetes.io/mode: Reconcile
     6  name: globalnetworksets.crd.projectcalico.org
     7spec:
     8  group: crd.projectcalico.org
     9  names:
    10    kind: GlobalNetworkSet
    11    listKind: GlobalNetworkSetList
    12    plural: globalnetworksets
    13    singular: globalnetworkset
    14  scope: Cluster
    15  versions:
    16  - name: v1
    17    schema:
    18      openAPIV3Schema:
    19        description: GlobalNetworkSet contains a set of arbitrary IP sub-networks/CIDRs
    20          that share labels to allow rules to refer to them via selectors.  The labels
    21          of GlobalNetworkSet are not namespaced.
    22        properties:
    23          apiVersion:
    24            description: 'APIVersion defines the versioned schema of this representation
    25              of an object. Servers should convert recognized schemas to the latest
    26              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    27            type: string
    28          kind:
    29            description: 'Kind is a string value representing the REST resource this
    30              object represents. Servers may infer this from the endpoint the client
    31              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    32            type: string
    33          metadata:
    34            type: object
    35          spec:
    36            description: GlobalNetworkSetSpec contains the specification for a NetworkSet
    37              resource.
    38            properties:
    39              nets:
    40                description: The list of IP networks that belong to this set.
    41                items:
    42                  type: string
    43                type: array
    44            type: object
    45        type: object
    46    served: true
    47    storage: true
    48status:
    49  acceptedNames:
    50    kind: ""
    51    plural: ""
    52  conditions: []
    53  storedVersions: []

View as plain text