Skip to content
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

Status annotations #380

Closed

Conversation

jacobweinstock
Copy link
Member

Description

Important

This builds off of PR #379 and must wait for it to be merged.

The previous method of provisioning state relied on the AllowPXE field of the Hardware spec. This overloads this field and makes it difficult to understand state. This is also problematic when gitops is employed with Hardware objects.

Annotations are purpose built for state and work well with CAPI. FYI, fields in the status object state are not maintained during CAPI move/pivot operations so they are not an option. There is also at least one other known bare metal CAPI provider that uses this pattern very successfully.

Why is this needed

Fixes: #

How Has This Been Tested?

How are existing users impacted? What migration steps/scripts do we need?

Checklist:

I have:

  • updated the documentation and/or roadmap (if required)
  • added unit or e2e tests
  • provided instructions on how to upgrade

@jacobweinstock jacobweinstock added the do-not-merge Signal to Mergify to block merging of the PR. label Jun 26, 2024
The previous method of provisioning state
relied on the AllowPXE field of the Hardware spec.
This overloads this field and makes it difficult
to understand state. This is also problematic when
gitops is employed with Hardware objects.

Annotations are purpose built for state and work
well with CAPI. FYI, fields in the status object state
are not maintained during CAPI move/pivot operations.
There is also at least one other known bare metal CAPI
provider that uses this pattern very successfully.

Signed-off-by: Jacob Weinstock <[email protected]>
@jacobweinstock
Copy link
Member Author

resolved by #407

@jacobweinstock jacobweinstock deleted the status-annotations branch November 25, 2024 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge Signal to Mergify to block merging of the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant