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

🌱 WipeDisk annotation #1429

Merged
merged 16 commits into from
Aug 10, 2024
Merged

🌱 WipeDisk annotation #1429

merged 16 commits into from
Aug 10, 2024

Conversation

guettli
Copy link
Contributor

@guettli guettli commented Aug 9, 2024

Introduced annotation "wipedisk.hetznerbaremetalhost.infrastructure.cluster.x-k8s.io"

Set it to a space seperated list of WWNs or "all".

The given disks will be erased with wipefs -af before provisioning.

Once wipefs was executed the annotation gets removed.

Introduced annotation "wipedisk.hetznerbaremetalhost.infrastructure.cluster.x-k8s.io"

Set it to a space seperated list of WWNs or "all".

The given disks will be erased with `wipefs -af` before provisioning.

Once wipefs was executed the annotation gets removed.
@guettli guettli marked this pull request as ready for review August 9, 2024 10:01
@syself-bot syself-bot bot added area/code Changes made in the code directory area/api Changes made in the api directory labels Aug 9, 2024
@syself-bot syself-bot bot added the size/M Denotes a PR that changes 50-200 lines, ignoring generated files. label Aug 9, 2024
@syself-bot syself-bot bot added size/L Denotes a PR that changes 200-800 lines, ignoring generated files. and removed size/M Denotes a PR that changes 50-200 lines, ignoring generated files. labels Aug 9, 2024
For error structs, you need to use errors.As().
We might got during `trap`: sed: can't read bash: No such file or directory
@guettli guettli requested a review from batistein August 9, 2024 12:51
@batistein batistein merged commit 0fad3b1 into main Aug 10, 2024
9 checks passed
@batistein batistein deleted the tg/wipefs-annotation branch August 10, 2024 14:17
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 size/L Denotes a PR that changes 200-800 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants