⚠️ Remove redundant/unused KCPTemplate fields#5788
⚠️ Remove redundant/unused KCPTemplate fields#5788k8s-ci-robot merged 1 commit intokubernetes-sigs:mainfrom
Conversation
e42292d to
6d08be0
Compare
d6fcea8 to
3e15512
Compare
|
/test pull-cluster-api-e2e-full-main |
|
/test pull-cluster-api-e2e-full-main |
5ceb9c8 to
d27574c
Compare
|
/test pull-cluster-api-e2e-full-main |
|
/retitle |
|
/lgtm |
controlplane/kubeadm/api/v1beta1/kubeadmcontrolplanetemplate_types.go
Outdated
Show resolved
Hide resolved
40122c1 to
b9982ca
Compare
|
/test pull-cluster-api-e2e-full-main |
| // MachineTemplate contains information about how machines | ||
| // should be shaped when creating or updating a control plane. | ||
| // +optional | ||
| MachineTemplate *KubeadmControlPlaneTemplateMachineTemplate `json:"machineTemplate,omitempty"` |
There was a problem hiding this comment.
I did another manual test. This time I tried not setting machineTemplate at all, so I noticed that machineTemplate was still mandatory. (the CI test sets machineTemplate.nodeDrainTimeout to speed up the test)
I think we shouldn't force users to specify an empty machineTemplate object, so I made it optional
Signed-off-by: Stefan Büringer buringerst@vmware.com
b9982ca to
0f7e22d
Compare
|
/test pull-cluster-api-e2e-full-main |
|
/test pull-cluster-api-e2e-full-main |
fabriziopandini
left a comment
There was a problem hiding this comment.
ready to lgtm approve as soon as we get a green CI
| apiconversion "k8s.io/apimachinery/pkg/conversion" | ||
| "sigs.k8s.io/controller-runtime/pkg/conversion" | ||
|
|
||
| kubeadmbootstrapv1alpha4 "sigs.k8s.io/cluster-api/bootstrap/kubeadm/api/v1alpha4" |
There was a problem hiding this comment.
nit we are kind of standardizing on boostrapvx, but we can eventually tackle this is a separated PR
| kubeadmbootstrapv1alpha4 "sigs.k8s.io/cluster-api/bootstrap/kubeadm/api/v1alpha4" | |
| bootstrapv1alpha4 "sigs.k8s.io/cluster-api/bootstrap/kubeadm/api/v1alpha4" |
There was a problem hiding this comment.
Yup. I'll take a look tomorrow (in a separate PR)
|
@fabriziopandini Should be ready for merge now |
|
/hold cancel |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon, fabriziopandini The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@sbueringer: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
flake |
|
@sbueringer: The
The following commands are available to trigger optional jobs:
Use
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/test pull-cluster-api-test-mink8s-main |
…redundant-kcp-fields⚠️ Remove redundant/unused KCPTemplate fields
…redundant-kcp-fields⚠️ Remove redundant/unused KCPTemplate fields
…rClass machineTemplate in KubeadmControlPlaneTemplate is removed with CAPI v1.1.0 See kubernetes-sigs/cluster-api#5788 We need to move that part to clusterClass
…rClass machineTemplate in KubeadmControlPlaneTemplate is removed with CAPI v1.1.0 See kubernetes-sigs/cluster-api#5788 We need to move that part to clusterClass
…rClass machineTemplate in KubeadmControlPlaneTemplate is removed with CAPI v1.1.0 See kubernetes-sigs/cluster-api#5788 We need to move that part to clusterClass
…rClass (#46) * Move machineInfrastructure from KubeadmControlPlaneTemplate to ClusterClass machineTemplate in KubeadmControlPlaneTemplate is removed with CAPI v1.1.0 See kubernetes-sigs/cluster-api#5788 We need to move that part to clusterClass. Co-authored-by: Thomas Fussell <thomas@giantswarm.io>
Signed-off-by: Stefan Büringer buringerst@vmware.com
What this PR does / why we need it:
This PR proposes a solution to implement: #5678
Please see #5788 (comment) for the options we have and further discussions
Note:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #5678