-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🌱 Add v1beta2 conditions to DevMachines with InMemory backend #11901
base: main
Are you sure you want to change the base?
🌱 Add v1beta2 conditions to DevMachines with InMemory backend #11901
Conversation
/retest Probably caused by this PR (I didn't take a closer look) |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just constant naming & godoc nits
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One nit, maybe optional (in addition to stefan's :-) )
9afcb01
to
baf9705
Compare
@fabriziopandini: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last round of nits. Thx for the patience, I know this level of nitpickery is maybe a bit too much for a Dev provider :)
|
||
// WaitingForClusterInfrastructureV1Beta2Reason documents an infra Machine waiting for the cluster | ||
// infrastructure to be ready. | ||
WaitingForClusterInfrastructureV1Beta2Reason = "WaitingForClusterInfrastructure" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WaitingForClusterInfrastructureV1Beta2Reason = "WaitingForClusterInfrastructure" | |
WaitingForClusterInfrastructureReadyV1Beta2Reason = "WaitingForClusterInfrastructureReady" |
I think that's a bit clearer and also consistent with WaitingForControlPlaneInitialized
(Just want to make sure these are fine, as I assume we would also use the same in production infra providers. For CAPDev it wouldn't matter too much of course)
|
||
// EtcdProvisioned condition and corresponding reasons that will be used in v1Beta2 API version for a DevMachine's in memory backend. | ||
const ( | ||
// DevMachineInMemoryEtcdProvisionedV1Beta2Condition documents the status of the provisioning VM implementing the DevMachine's in memory backend. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// DevMachineInMemoryEtcdProvisionedV1Beta2Condition documents the status of the provisioning VM implementing the DevMachine's in memory backend. | |
// DevMachineInMemoryEtcdProvisionedV1Beta2Condition documents the status of the provisioning of the etcd instance hosted on the DevMachine's in memory backend. |
(stole it from apiserver below)
// to be provisioned. | ||
DevMachineInMemoryAPIServerWaitingForNodeProvisionedV1Beta2Reason = "WaitingForNodeProvisioned" | ||
|
||
// DevMachineInMemoryAPIServerWaitingForStartupTimeoutV1Beta2Reason documents the infrastructure for a fake APIServer for a DevMachine's in memory backend provisioning. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// DevMachineInMemoryAPIServerWaitingForStartupTimeoutV1Beta2Reason documents the infrastructure for a fake APIServer for a DevMachine's in memory backend provisioning. | |
// DevMachineInMemoryAPIServerWaitingForStartupTimeoutV1Beta2Reason documents when the fake APIServer for a DevMachine's in memory backend | |
// is provisioning (it waits for a startup timeout). |
(stole this from etcd)
// DevMachineInMemoryAPIServerWaitingForStartupTimeoutV1Beta2Reason documents the infrastructure for a fake APIServer for a DevMachine's in memory backend provisioning. | ||
DevMachineInMemoryAPIServerWaitingForStartupTimeoutV1Beta2Reason = "WaitingForStartupTimeout" | ||
|
||
// DevMachineInMemoryAPIServerProvisionedV1Beta2Reason documents a fake APIServer for a DevMachine's in memory backend being provisioned. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// DevMachineInMemoryAPIServerProvisionedV1Beta2Reason documents a fake APIServer for a DevMachine's in memory backend being provisioned. | |
// DevMachineInMemoryAPIServerProvisionedV1Beta2Reason documents when a fake APIServer for a DevMachine's in memory backend is fully provisioned. |
(stole this from etcd)
What this PR does / why we need it:
rif #11474