Skip to content

feat: make root disk of bastion configurable#182

Open
nschad wants to merge 4 commits into
mainfrom
improve-bastion
Open

feat: make root disk of bastion configurable#182
nschad wants to merge 4 commits into
mainfrom
improve-bastion

Conversation

@nschad

@nschad nschad commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

How to categorize this PR?
/kind enhancement

What this PR does / why we need it:

Our "coreos" image size was recently increased to 13GiB (see upstream PR or flatcar/Flatcar#1917). In order to make the bastion controller a bit more flexible I've leverage the provider-specific CloudprofileConfig to allow for custom RootDiskSizes.

Additionally we moved the status check immediately after reconcileServer as the VM creation is async and we should first check if the server was created properly before doing further operations on said server.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Breaking changes:

Signed-off-by: Niclas Schad <niclas.schad@stackit.cloud>
@ske-prow ske-prow Bot added the kind/enhancement Enhancement, improvement, extension label Jun 19, 2026
@ske-prow

ske-prow Bot commented Jun 19, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign breuerfelix for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ske-prow ske-prow Bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jun 19, 2026
nschad added 3 commits June 19, 2026 14:42
Signed-off-by: Niclas Schad <niclas.schad@stackit.cloud>
Signed-off-by: Niclas Schad <niclas.schad@stackit.cloud>
Signed-off-by: Niclas Schad <niclas.schad@stackit.cloud>

@hown3d hown3d left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for this change!

just a small nit :)


const (
// RootDiskSize is the default root disk size for the bastion server
RootDiskSize = int64(25)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: rename to DefaultRootDiskSize

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement Enhancement, improvement, extension size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants