-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathinfrastructure.cluster.x-k8s.io_ionoscloudclusters.yaml
241 lines (240 loc) · 10.4 KB
/
infrastructure.cluster.x-k8s.io_ionoscloudclusters.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.5
name: ionoscloudclusters.infrastructure.cluster.x-k8s.io
spec:
group: infrastructure.cluster.x-k8s.io
names:
categories:
- cluster-api
- ionoscloud
kind: IonosCloudCluster
listKind: IonosCloudClusterList
plural: ionoscloudclusters
shortNames:
- icc
singular: ionoscloudcluster
scope: Namespaced
versions:
- additionalPrinterColumns:
- description: Cluster
jsonPath: .metadata.labels['cluster\.x-k8s\.io/cluster-name']
name: Cluster
type: string
- description: Cluster infrastructure is ready
jsonPath: .status.ready
name: Ready
type: string
- description: API Endpoint
jsonPath: .spec.controlPlaneEndpoint
name: Endpoint
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: IonosCloudCluster is the Schema for the ionoscloudclusters API.
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: IonosCloudClusterSpec defines the desired state of IonosCloudCluster.
properties:
controlPlaneEndpoint:
description: |-
ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.
provider-provided block IP into the kube-vip manifest.
properties:
host:
description: The hostname on which the API server is serving.
type: string
port:
description: The port on which the API server is serving.
format: int32
type: integer
required:
- host
- port
type: object
x-kubernetes-validations:
- message: port must be within 1-65535
rule: size(self.host) == 0 && self.port == 0 || self.port > 0 &&
self.port < 65536
credentialsRef:
description: CredentialsRef is a reference to the secret containing
the credentials to access the IONOS Cloud API.
properties:
name:
default: ""
description: |-
Name of the referent.
This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
type: string
type: object
x-kubernetes-map-type: atomic
x-kubernetes-validations:
- message: credentialsRef.name must be provided
rule: has(self.name) && self.name != ''
loadBalancerProviderRef:
description: |-
LoadBalancerProviderRef is a reference to the load balancer provider configuration.
An empty loadBalancerProviderRef field is allowed and means to disable any load balancer logic.
properties:
name:
default: ""
description: |-
Name of the referent.
This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
type: string
type: object
x-kubernetes-map-type: atomic
location:
description: Location is the location where the data centers should
be located.
example: de/txl
minLength: 1
type: string
x-kubernetes-validations:
- message: location is immutable
rule: self == oldSelf
required:
- credentialsRef
type: object
x-kubernetes-validations:
- message: location is required when controlPlaneEndpoint.host is set
rule: self.controlPlaneEndpoint.host == '' || has(self.location)
status:
description: IonosCloudClusterStatus defines the observed state of IonosCloudCluster.
properties:
conditions:
description: Conditions defines current service state of the IonosCloudCluster.
items:
description: Condition defines an observation of a Cluster API resource
operational state.
properties:
lastTransitionTime:
description: |-
Last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when
the API field changed is acceptable.
format: date-time
type: string
message:
description: |-
A human readable message indicating details about the transition.
This field may be empty.
type: string
reason:
description: |-
The reason for the condition's last transition in CamelCase.
The specific API may choose whether or not this field is considered a guaranteed API.
This field may not be empty.
type: string
severity:
description: |-
Severity provides an explicit classification of Reason code, so the users or machines can immediately
understand the current situation and act accordingly.
The Severity field MUST be set only when Status=False.
type: string
status:
description: Status of the condition, one of True, False, Unknown.
type: string
type:
description: |-
Type of condition in CamelCase or in foo.example.com/CamelCase.
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions
can be useful (see .node.status.conditions), the ability to deconflict is important.
type: string
required:
- lastTransitionTime
- status
- type
type: object
type: array
controlPlaneEndpointIPBlockID:
description: ControlPlaneEndpointIPBlockID is the IONOS Cloud UUID
for the control plane endpoint IP block.
type: string
currentClusterRequest:
description: CurrentClusterRequest is the current pending request
made during reconciliation for the whole cluster.
properties:
method:
description: Method is the request method
type: string
requestPath:
description: RequestPath is the sub path for the request URL
type: string
state:
description: RequestStatus is the status of the request in the
queue.
enum:
- QUEUED
- RUNNING
- DONE
- FAILED
type: string
required:
- method
- requestPath
type: object
currentRequest:
additionalProperties:
description: |-
ProvisioningRequest is a definition of a provisioning request
in the IONOS Cloud.
properties:
method:
description: Method is the request method
type: string
requestPath:
description: RequestPath is the sub path for the request URL
type: string
state:
description: RequestStatus is the status of the request in the
queue.
enum:
- QUEUED
- RUNNING
- DONE
- FAILED
type: string
required:
- method
- requestPath
type: object
description: CurrentRequestByDatacenter maps data center IDs to a
pending provisioning request made during reconciliation.
type: object
ready:
description: Ready indicates that the cluster is ready.
type: boolean
type: object
type: object
served: true
storage: true
subresources:
status: {}