k8s.io/kubernetes@v1.31.0-alpha.0.0.20240520171757-56147500dadc/cluster/addons/calico-policy-controller/blockaffinity-crd.yaml (about) 1 apiVersion: apiextensions.k8s.io/v1 2 kind: CustomResourceDefinition 3 metadata: 4 labels: 5 addonmanager.kubernetes.io/mode: Reconcile 6 name: blockaffinities.crd.projectcalico.org 7 spec: 8 group: crd.projectcalico.org 9 names: 10 kind: BlockAffinity 11 listKind: BlockAffinityList 12 plural: blockaffinities 13 singular: blockaffinity 14 scope: Cluster 15 versions: 16 - name: v1 17 schema: 18 openAPIV3Schema: 19 properties: 20 apiVersion: 21 description: 'APIVersion defines the versioned schema of this representation 22 of an object. Servers should convert recognized schemas to the latest 23 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 24 type: string 25 kind: 26 description: 'Kind is a string value representing the REST resource this 27 object represents. Servers may infer this from the endpoint the client 28 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 29 type: string 30 metadata: 31 type: object 32 spec: 33 description: BlockAffinitySpec contains the specification for a BlockAffinity 34 resource. 35 properties: 36 cidr: 37 type: string 38 deleted: 39 description: Deleted indicates that this block affinity is being deleted. 40 This field is a string for compatibility with older releases that 41 mistakenly treat this field as a string. 42 type: string 43 node: 44 type: string 45 state: 46 type: string 47 required: 48 - cidr 49 - node 50 - state 51 type: object 52 type: object 53 served: true 54 storage: true 55 status: 56 acceptedNames: 57 kind: "" 58 plural: "" 59 conditions: [] 60 storedVersions: []