...

Text file src/k8s.io/kubernetes/cluster/addons/calico-policy-controller/networkset-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: networksets.crd.projectcalico.org
     7spec:
     8  group: crd.projectcalico.org
     9  names:
    10    kind: NetworkSet
    11    listKind: NetworkSetList
    12    plural: networksets
    13    singular: networkset
    14  scope: Namespaced
    15  versions:
    16  - name: v1
    17    schema:
    18      openAPIV3Schema:
    19        description: NetworkSet is the Namespaced-equivalent of the GlobalNetworkSet.
    20        properties:
    21          apiVersion:
    22            description: 'APIVersion defines the versioned schema of this representation
    23              of an object. Servers should convert recognized schemas to the latest
    24              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    25            type: string
    26          kind:
    27            description: 'Kind is a string value representing the REST resource this
    28              object represents. Servers may infer this from the endpoint the client
    29              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    30            type: string
    31          metadata:
    32            type: object
    33          spec:
    34            description: NetworkSetSpec contains the specification for a NetworkSet
    35              resource.
    36            properties:
    37              nets:
    38                description: The list of IP networks that belong to this set.
    39                items:
    40                  type: string
    41                type: array
    42            type: object
    43        type: object
    44    served: true
    45    storage: true
    46status:
    47  acceptedNames:
    48    kind: ""
    49    plural: ""
    50  conditions: []
    51  storedVersions: []

View as plain text