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

✨ Add constant hostnames to bare metal servers #1285

Merged
merged 5 commits into from
May 3, 2024
Merged

Conversation

janiskemper
Copy link
Contributor

@janiskemper janiskemper commented Apr 30, 2024

What this PR does / why we need it:
Adding the feature to keep hostnames of bare metal servers constant. This can be triggered by a feature flag on the Cluster object. It takes the usual "bm-" prefix together with the cluster name as well as the serverID of the bare metal server.

This feature can be used by adding the annotation "capi.syself.com/constant-bare-metal-hostname": "true" to Cluster objects.

TODOs:

  • squash commits
  • include documentation
  • add unit tests

@janiskemper janiskemper requested a review from guettli April 30, 2024 09:59
Copy link
Collaborator

@guettli guettli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, except that docs about the new feature are missing.

@janiskemper janiskemper requested a review from guettli May 1, 2024 16:07
Adding the feature to keep hostnames of bare metal servers constant.
This can be triggered by a feature flag on the Cluster object. It takes
the usual "bm-" prefix together with the cluster name as well as the
serverID of the bare metal server.
@guettli guettli marked this pull request as ready for review May 3, 2024 11:49
@syself-bot syself-bot bot added area/code Changes made in the code directory area/api Changes made in the api directory labels May 3, 2024
@guettli guettli merged commit 0ca41c9 into main May 3, 2024
14 checks passed
@guettli guettli deleted the fix-hostname branch May 3, 2024 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api Changes made in the api directory area/code Changes made in the code directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants