...
Text file
src/edge-infra.dev/test/fixtures/crds/gcp/compute.cnrm.cloud.google.com_computerouterinterfaces.yaml
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: computerouterinterfaces.compute.cnrm.cloud.google.com
8spec:
9 group: compute.cnrm.cloud.google.com
10 names:
11 kind: ComputeRouterInterface
12 listKind: ComputeRouterInterfaceList
13 plural: computerouterinterfaces
14 singular: computerouterinterface
15 scope: Namespaced
16 versions:
17 - name: v1beta1
18 schema:
19 openAPIV3Schema:
20 description: ComputeRouterInterface is the Schema for the compute API
21 properties:
22 apiVersion:
23 description: |-
24 APIVersion defines the versioned schema of this representation of an object.
25 Servers should convert recognized schemas to the latest internal value, and
26 may reject unrecognized values.
27 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28 type: string
29 kind:
30 description: |-
31 Kind is a string value representing the REST resource this object represents.
32 Servers may infer this from the endpoint the client submits requests to.
33 Cannot be updated.
34 In CamelCase.
35 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
36 type: string
37 metadata:
38 type: object
39 spec:
40 properties:
41 interconnectAttachmentRef:
42 properties:
43 external:
44 description: The external name of the referenced resource
45 type: string
46 kind:
47 description: Kind of the referent.
48 type: string
49 name:
50 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
51 type: string
52 namespace:
53 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
54 type: string
55 type: object
56 ipRange:
57 description: Immutable. The IP address and range of the interface.
58 The IP range must be in the RFC3927 link-local IP space. Changing
59 this forces a new interface to be created.
60 type: string
61 privateIpAddressRef:
62 properties:
63 external:
64 description: The external name of the referenced resource
65 type: string
66 kind:
67 description: Kind of the referent.
68 type: string
69 name:
70 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
71 type: string
72 namespace:
73 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
74 type: string
75 type: object
76 redundantInterfaceRef:
77 description: The interface the BGP peer is associated with.
78 properties:
79 external:
80 description: The external name of the referenced resource
81 type: string
82 kind:
83 description: Kind of the referent.
84 type: string
85 name:
86 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
87 type: string
88 namespace:
89 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
90 type: string
91 type: object
92 region:
93 description: Immutable. The region this interface's router sits in.
94 If not specified, the project region will be used. Changing this
95 forces a new interface to be created.
96 type: string
97 resourceID:
98 description: Immutable. Optional. The name of the resource. Used for
99 creation and acquisition. When unset, the value of `metadata.name`
100 is used as the default.
101 type: string
102 routerRef:
103 properties:
104 external:
105 description: The external name of the referenced resource
106 type: string
107 kind:
108 description: Kind of the referent.
109 type: string
110 name:
111 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
112 type: string
113 namespace:
114 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
115 type: string
116 type: object
117 subnetworkRef:
118 properties:
119 external:
120 description: The external name of the referenced resource
121 type: string
122 kind:
123 description: Kind of the referent.
124 type: string
125 name:
126 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
127 type: string
128 namespace:
129 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
130 type: string
131 type: object
132 vpnTunnelRef:
133 properties:
134 external:
135 description: The external name of the referenced resource
136 type: string
137 kind:
138 description: Kind of the referent.
139 type: string
140 name:
141 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
142 type: string
143 namespace:
144 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
145 type: string
146 type: object
147 required:
148 - region
149 - routerRef
150 type: object
151 status:
152 properties:
153 conditions:
154 description: |-
155 Conditions represent the latest available observations of the
156 ComputeRouterInterface's current state.
157 items:
158 properties:
159 lastTransitionTime:
160 description: Last time the condition transitioned from one status
161 to another.
162 type: string
163 message:
164 description: Human-readable message indicating details about
165 last transition.
166 type: string
167 reason:
168 description: |-
169 Unique, one-word, CamelCase reason for the condition's last
170 transition.
171 type: string
172 status:
173 description: Status is the status of the condition. Can be True,
174 False, Unknown.
175 type: string
176 type:
177 description: Type is the type of the condition.
178 type: string
179 type: object
180 type: array
181 observedGeneration:
182 description: ObservedGeneration is the generation of the resource
183 that was most recently observed by the Config Connector controller.
184 If this is equal to metadata.generation, then that means that the
185 current reported status reflects the most recent desired state of
186 the resource.
187 type: integer
188 type: object
189 type: object
190 served: true
191 storage: true
View as plain text