Skip to content

Conversation

sbueringer
Copy link
Member

@sbueringer sbueringer commented Jun 30, 2025

Signed-off-by: Stefan Büringer [email protected]

What this PR does / why we need it:
Just doesn't make sense for this to be optional

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Part of #10852

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 30, 2025
@k8s-ci-robot k8s-ci-robot added do-not-merge/needs-area PR is missing an area label size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jun 30, 2025
@sbueringer
Copy link
Member Author

/test pull-cluster-api-e2e-main

@sbueringer sbueringer added the area/machineset Issues or PRs related to machinesets label Jun 30, 2025
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/needs-area PR is missing an area label label Jun 30, 2025
@sbueringer
Copy link
Member Author

/assign @JoelSpeed @fabriziopandini @sivchari

// +optional
Template MachineTemplateSpec `json:"template,omitempty"`
// +required
Template MachineTemplateSpec `json:"template"`
Copy link
Contributor

Choose a reason for hiding this comment

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

The two fields in the MachineTemplateSpec are both currently optional, seems this won't achieve much without making the spec inside the template required?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point, thx. I'll look into it

@sbueringer sbueringer force-pushed the pr-template-required branch from c99ba51 to 88625bc Compare June 30, 2025 15:37
@sbueringer sbueringer changed the title ⚠️ Make Template in MachineSet required ⚠️ Make Template in MachineSet & Spec in MachineTemplateSpec required Jun 30, 2025
@sbueringer sbueringer force-pushed the pr-template-required branch from 88625bc to 19f51c9 Compare June 30, 2025 16:26
@sbueringer
Copy link
Member Author

@JoelSpeed PTAL :)

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jun 30, 2025
@JoelSpeed
Copy link
Contributor

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 30, 2025
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 85fe0e3a0b9e5ac24838bf61d8727118c1c0b62c

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JoelSpeed

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

The pull request process is described here

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 30, 2025
@k8s-ci-robot k8s-ci-robot merged commit 5e5b506 into kubernetes-sigs:main Jun 30, 2025
19 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.11 milestone Jun 30, 2025
@sbueringer sbueringer deleted the pr-template-required branch June 30, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/machineset Issues or PRs related to machinesets cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants