You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding the `AWSMananagedCluster` back into CAPA. This is to ensure that
we have separate API kinds for control plane and infrastructure
references. This is so that we can enable ClusterClass for EKS in a
future change.
Signed-off-by: Richard Case <[email protected]>
// +kubebuilder:printcolumn:name="Cluster",type="string",JSONPath=".metadata.labels.cluster\\.x-k8s\\.io/cluster-name",description="Cluster to which this AWSManagedControl belongs"
51
+
// +kubebuilder:printcolumn:name="Ready",type="string",JSONPath=".status.ready",description="Control plane infrastructure is ready for worker nodes"
description: AWSManagedCluster is the Schema for the awsmanagedclusters API
@@ -76,71 +72,52 @@ spec:
76
72
status:
77
73
description: AWSManagedClusterStatus defines the observed state of AWSManagedCluster
78
74
properties:
79
-
failureDomains:
80
-
additionalProperties:
81
-
description: FailureDomainSpec is the Schema for Cluster API failure
82
-
domains. It allows controllers to understand how many failure
83
-
domains a cluster can optionally span across.
75
+
conditions:
76
+
description: Conditions provide observations of the operational state
77
+
of AWSManagedCluster.
78
+
items:
79
+
description: Condition defines an observation of a Cluster API resource
80
+
operational state.
84
81
properties:
85
-
attributes:
86
-
additionalProperties:
87
-
type: string
88
-
description: Attributes is a free form map of attributes an
89
-
infrastructure provider might use or require.
90
-
type: object
91
-
controlPlane:
92
-
description: ControlPlane determines if this failure domain
93
-
is suitable for use by control plane machines.
94
-
type: boolean
82
+
lastTransitionTime:
83
+
description: Last time the condition transitioned from one status
84
+
to another. This should be when the underlying condition changed.
85
+
If that is not known, then using the time when the API field
86
+
changed is acceptable.
87
+
format: date-time
88
+
type: string
89
+
message:
90
+
description: A human readable message indicating details about
91
+
the transition. This field may be empty.
92
+
type: string
93
+
reason:
94
+
description: The reason for the condition's last transition
95
+
in CamelCase. The specific API may choose whether or not this
96
+
field is considered a guaranteed API. This field may not be
97
+
empty.
98
+
type: string
99
+
severity:
100
+
description: Severity provides an explicit classification of
101
+
Reason code, so the users or machines can immediately understand
102
+
the current situation and act accordingly. The Severity field
103
+
MUST be set only when Status=False.
104
+
type: string
105
+
status:
106
+
description: Status of the condition, one of True, False, Unknown.
107
+
type: string
108
+
type:
109
+
description: Type of condition in CamelCase or in foo.example.com/CamelCase.
110
+
Many .condition.type values are consistent across resources
111
+
like Available, but because arbitrary conditions can be useful
112
+
(see .node.status.conditions), the ability to deconflict is
113
+
important.
114
+
type: string
115
+
required:
116
+
- lastTransitionTime
117
+
- status
118
+
- type
95
119
type: object
96
-
description: FailureDomains specifies a list fo available availability
97
-
zones that can be used
98
-
type: object
99
-
ready:
100
-
description: Ready is when the AWSManagedControlPlane has a API server
101
-
URL.
102
-
type: boolean
103
-
type: object
104
-
type: object
105
-
name: v1beta2
106
-
schema:
107
-
openAPIV3Schema:
108
-
description: AWSManagedCluster is the Schema for the awsmanagedclusters API
109
-
properties:
110
-
apiVersion:
111
-
description: 'APIVersion defines the versioned schema of this representation
112
-
of an object. Servers should convert recognized schemas to the latest
113
-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
114
-
type: string
115
-
kind:
116
-
description: 'Kind is a string value representing the REST resource this
117
-
object represents. Servers may infer this from the endpoint the client
118
-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
119
-
type: string
120
-
metadata:
121
-
type: object
122
-
spec:
123
-
description: AWSManagedClusterSpec defines the desired state of AWSManagedCluster
124
-
properties:
125
-
controlPlaneEndpoint:
126
-
description: ControlPlaneEndpoint represents the endpoint used to
127
-
communicate with the control plane.
128
-
properties:
129
-
host:
130
-
description: The hostname on which the API server is serving.
131
-
type: string
132
-
port:
133
-
description: The port on which the API server is serving.
134
-
format: int32
135
-
type: integer
136
-
required:
137
-
- host
138
-
- port
139
-
type: object
140
-
type: object
141
-
status:
142
-
description: AWSManagedClusterStatus defines the observed state of AWSManagedCluster
143
-
properties:
120
+
type: array
144
121
failureDomains:
145
122
additionalProperties:
146
123
description: FailureDomainSpec is the Schema for Cluster API failure
0 commit comments