...
1apiVersion: apiextensions.k8s.io/v1
2kind: CustomResourceDefinition
3metadata:
4 labels:
5 addonmanager.kubernetes.io/mode: Reconcile
6 name: ipamblocks.crd.projectcalico.org
7spec:
8 group: crd.projectcalico.org
9 names:
10 kind: IPAMBlock
11 listKind: IPAMBlockList
12 plural: ipamblocks
13 singular: ipamblock
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: IPAMBlockSpec contains the specification for an IPAMBlock
34 resource.
35 properties:
36 affinity:
37 type: string
38 allocations:
39 items:
40 type: integer
41 # TODO: This nullable is manually added in. We should update controller-gen
42 # to handle []*int properly itself.
43 nullable: true
44 type: array
45 attributes:
46 items:
47 properties:
48 handle_id:
49 type: string
50 secondary:
51 additionalProperties:
52 type: string
53 type: object
54 type: object
55 type: array
56 cidr:
57 type: string
58 deleted:
59 type: boolean
60 strictAffinity:
61 type: boolean
62 unallocated:
63 items:
64 type: integer
65 type: array
66 required:
67 - allocations
68 - attributes
69 - cidr
70 - strictAffinity
71 - unallocated
72 type: object
73 type: object
74 served: true
75 storage: true
76status:
77 acceptedNames:
78 kind: ""
79 plural: ""
80 conditions: []
81 storedVersions: []
View as plain text