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

🐛 Fix CSR for ConstantBareMetalHostname #1295

Merged
merged 4 commits into from
May 7, 2024

Conversation

guettli
Copy link
Contributor

@guettli guettli commented May 6, 2024

What this PR does / why we need it:

If a cluster uses ConstantBareMetalHostname, then the CSRs were not approved, since the node-name
did not match the expected pattern.

This PR extends the CSR approving, so that CSRs for constant bm hostnames get approved.

@guettli guettli requested a review from janiskemper May 6, 2024 10:03
@janiskemper
Copy link
Contributor

@kranurag7 can you test this and check whether
a) hcloud servers get csrs approved
b) bare metal servers without constant node name get csrs approved
c) bare metal servers with constant node name get csrs approved

@janiskemper janiskemper requested a review from kranurag7 May 6, 2024 11:01
Copy link
Contributor

@janiskemper janiskemper left a comment

Choose a reason for hiding this comment

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

LGTM from my side, but didn't test it

@guettli guettli marked this pull request as ready for review May 6, 2024 11:33
@syself-bot syself-bot bot added the area/code Changes made in the code directory label May 6, 2024
@syself-bot syself-bot bot added the size/M Denotes a PR that changes 50-200 lines, ignoring generated files. label May 6, 2024
@guettli guettli requested a review from janiskemper May 6, 2024 12:19
@guettli guettli force-pushed the tg/csr-for-constant-hostnames branch from c3da8ae to ff21b8f Compare May 7, 2024 07:28
Copy link
Contributor

@kranurag7 kranurag7 left a comment

Choose a reason for hiding this comment

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

LGTM, thank you Thomas.

@kranurag7 kranurag7 merged commit 538d04f into main May 7, 2024
9 checks passed
@kranurag7 kranurag7 deleted the tg/csr-for-constant-hostnames branch May 7, 2024 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/code Changes made in the code directory size/M Denotes a PR that changes 50-200 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants