github.com/openshift/dpu-operator@v0.0.0-20240502153209-3af840d137c2/test/crd/k8s.cni.cncf.io_networkattachmentdefinitions_crd.yaml (about) 1 --- 2 apiVersion: apiextensions.k8s.io/v1 3 kind: CustomResourceDefinition 4 metadata: 5 name: network-attachment-definitions.k8s.cni.cncf.io 6 spec: 7 group: k8s.cni.cncf.io 8 scope: Namespaced 9 names: 10 plural: network-attachment-definitions 11 singular: network-attachment-definition 12 kind: NetworkAttachmentDefinition 13 listKind: NetworkAttachmentDefinitionList 14 shortNames: 15 - net-attach-def 16 versions: 17 - name: v1 18 served: true 19 storage: true 20 schema: 21 openAPIV3Schema: 22 description: 'NetworkAttachmentDefinition is a CRD schema specified by the Network Plumbing 23 Working Group to express the intent for attaching pods to one or more logical or physical 24 networks. More information available at: https://github.com/k8snetworkplumbingwg/multi-net-spec' 25 type: object 26 properties: 27 apiVersion: 28 description: 'APIVersion defines the versioned schema of this represen 29 tation of an object. Servers should convert recognized schemas to the 30 latest internal value, and may reject unrecognized values. More info: 31 https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 32 type: string 33 kind: 34 description: 'Kind is a string value representing the REST resource this 35 object represents. Servers may infer this from the endpoint the client 36 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 37 type: string 38 metadata: 39 type: object 40 spec: 41 description: 'NetworkAttachmentDefinition spec defines the desired state of a network attachment' 42 type: object 43 properties: 44 config: 45 description: 'NetworkAttachmentDefinition config is a JSON-formatted CNI configuration' 46 type: string 47 --- 48 apiVersion: apiextensions.k8s.io/v1 49 kind: CustomResourceDefinition 50 metadata: 51 name: ippools.whereabouts.cni.cncf.io 52 spec: 53 group: whereabouts.cni.cncf.io 54 names: 55 kind: IPPool 56 listKind: IPPoolList 57 plural: ippools 58 singular: ippool 59 scope: Namespaced 60 versions: 61 - name: v1alpha1 62 schema: 63 openAPIV3Schema: 64 description: IPPool is the Schema for Whereabouts for IP address allocation 65 properties: 66 apiVersion: 67 description: 'APIVersion defines the versioned schema of this representation 68 of an object. Servers should convert recognized schemas to the latest 69 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources' 70 type: string 71 kind: 72 description: 'Kind is a string value representing the REST resource this 73 object represents. Servers may infer this from the endpoint the client 74 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds' 75 type: string 76 metadata: 77 type: object 78 spec: 79 description: IPPoolSpec defines the desired state of IPPool 80 properties: 81 allocations: 82 additionalProperties: 83 description: IPAllocation represents metadata about the pod/container 84 owner of a specific IP 85 properties: 86 id: 87 type: string 88 required: 89 - id 90 type: object 91 description: Allocations is the set of allocated IPs for the given range. 92 Its indices are a direct mapping to the IP with the same index/offset 93 for the pool's range. 94 type: object 95 range: 96 description: Range is a RFC 4632/4291-style string that represents an 97 IP address and prefix length in CIDR notation 98 type: string 99 required: 100 - allocations 101 - range 102 type: object 103 type: object 104 served: true 105 storage: true 106 --- 107 apiVersion: apiextensions.k8s.io/v1 108 kind: CustomResourceDefinition 109 metadata: 110 name: overlappingrangeipreservations.whereabouts.cni.cncf.io 111 spec: 112 group: whereabouts.cni.cncf.io 113 names: 114 kind: OverlappingRangeIPReservation 115 listKind: OverlappingRangeIPReservationList 116 plural: overlappingrangeipreservations 117 singular: overlappingrangeipreservation 118 scope: Namespaced 119 versions: 120 - name: v1alpha1 121 schema: 122 openAPIV3Schema: 123 description: OverlappingRangeIPReservation is the Schema for the OverlappingRangeIPReservations 124 API 125 properties: 126 apiVersion: 127 description: 'APIVersion defines the versioned schema of this representation 128 of an object. Servers should convert recognized schemas to the latest 129 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources' 130 type: string 131 kind: 132 description: 'Kind is a string value representing the REST resource this 133 object represents. Servers may infer this from the endpoint the client 134 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds' 135 type: string 136 metadata: 137 type: object 138 spec: 139 description: OverlappingRangeIPReservationSpec defines the desired state 140 of OverlappingRangeIPReservation 141 properties: 142 containerid: 143 type: string 144 required: 145 - containerid 146 type: object 147 required: 148 - spec 149 type: object 150 served: true 151 storage: true