cluster-api-provider-aws icon indicating copy to clipboard operation
cluster-api-provider-aws copied to clipboard

WIP RosaNetwork

Open mzazrivec opened this issue 7 months ago • 5 comments
trafficstars

What type of PR is this?

/kind feature

What this PR does / why we need it:

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 #

Special notes for your reviewer:

Checklist:

  • [ ] squashed commits
  • [ ] includes documentation
  • [ ] includes emoji in title
  • [ ] adds unit tests
  • [ ] adds or updates e2e tests

Release note:


mzazrivec avatar Apr 09 '25 19:04 mzazrivec

Hi @mzazrivec. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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-sigs/prow repository.

k8s-ci-robot avatar Apr 09 '25 19:04 k8s-ci-robot

you also need to update the ValidatingWebhookConfiguration and MutatingWebhookConfiguration here

serngawy avatar Apr 23 '25 11:04 serngawy

you also need to update the ValidatingWebhookConfiguration and MutatingWebhookConfiguration here

Is that really needed at this point? (there are no webhooks implemented for rosanet yet).

mzazrivec avatar Jul 15 '25 12:07 mzazrivec

The PR looks good in general, we are missing a validation in the RosaControlPlane for making the subnetIDs optional. Please add API (webhook) validation either Subnets OR ROSANetworkRef should defined.

Yep. I added validateROSANetwork() validation fn.

mzazrivec avatar Aug 12 '25 16:08 mzazrivec

/retest

mzazrivec avatar Aug 12 '25 18:08 mzazrivec

please add release note, stating add new ROSA network API

serngawy avatar Aug 14 '25 17:08 serngawy

please add release note, stating add new ROSA network API

Added.

mzazrivec avatar Aug 14 '25 18:08 mzazrivec

/assign @nrb @damdo @richardcase

damdo avatar Sep 23 '25 08:09 damdo

/label tide/merge-method-squash

damdo avatar Sep 30 '25 09:09 damdo

LGTM label has been added.

Git tree hash: 5f64d3fa3341e2ef3426645208e69a234b4147e3

k8s-ci-robot avatar Oct 02 '25 16:10 k8s-ci-robot

Based on the convo at https://kubernetes.slack.com/archives/CD6U2V71N/p1759420550389709

/cherry-pick release-2.9

damdo avatar Oct 06 '25 09:10 damdo

@damdo: once the present PR merges, I will cherry-pick it on top of release-2.9 in a new PR and assign it to you.

In response to this:

Based on the convo at https://kubernetes.slack.com/archives/CD6U2V71N/p1759420550389709

/cherry-pick release-2.9

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-sigs/prow repository.

/approve

richardcase avatar Oct 07 '25 12:10 richardcase

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: richardcase

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 avatar Oct 07 '25 12:10 k8s-ci-robot

/cherry-pick release-2.9

damdo avatar Oct 07 '25 12:10 damdo

@damdo: once the present PR merges, I will cherry-pick it on top of release-2.9 in a new PR and assign it to you.

In response to this:

/cherry-pick release-2.9

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-sigs/prow repository.

/retest

mzazrivec avatar Oct 07 '25 15:10 mzazrivec

Re-adding LGTM after rebase

/lgtm

damdo avatar Oct 07 '25 16:10 damdo

LGTM label has been added.

Git tree hash: ebc14b0e8b4a2ee7c8be29ba1b22cc7b2fbbb814

k8s-ci-robot avatar Oct 07 '25 16:10 k8s-ci-robot

@damdo: #5464 failed to apply on top of branch "release-2.9":

Applying: RosaNetwork: new CRD & reconciler to provision net infra for ROSA-HCP
Using index info to reconstruct a base tree...
M	PROJECT
M	config/crd/bases/controlplane.cluster.x-k8s.io_rosacontrolplanes.yaml
M	config/crd/kustomization.yaml
M	config/rbac/role.yaml
M	controlplane/rosa/api/v1beta2/rosacontrolplane_types.go
M	controlplane/rosa/api/v1beta2/rosacontrolplane_webhook.go
M	controlplane/rosa/api/v1beta2/zz_generated.deepcopy.go
M	controlplane/rosa/controllers/rosacontrolplane_controller.go
M	exp/api/v1beta2/zz_generated.deepcopy.go
M	go.mod
M	main.go
Falling back to patching base and 3-way merge...
Auto-merging main.go
Auto-merging go.mod
CONFLICT (content): Merge conflict in go.mod
Auto-merging exp/api/v1beta2/zz_generated.deepcopy.go
CONFLICT (content): Merge conflict in exp/api/v1beta2/zz_generated.deepcopy.go
Auto-merging controlplane/rosa/controllers/rosacontrolplane_controller.go
CONFLICT (content): Merge conflict in controlplane/rosa/controllers/rosacontrolplane_controller.go
Auto-merging controlplane/rosa/api/v1beta2/zz_generated.deepcopy.go
CONFLICT (content): Merge conflict in controlplane/rosa/api/v1beta2/zz_generated.deepcopy.go
Auto-merging controlplane/rosa/api/v1beta2/rosacontrolplane_webhook.go
CONFLICT (content): Merge conflict in controlplane/rosa/api/v1beta2/rosacontrolplane_webhook.go
Auto-merging controlplane/rosa/api/v1beta2/rosacontrolplane_types.go
CONFLICT (content): Merge conflict in controlplane/rosa/api/v1beta2/rosacontrolplane_types.go
Auto-merging config/rbac/role.yaml
CONFLICT (content): Merge conflict in config/rbac/role.yaml
Auto-merging config/crd/kustomization.yaml
CONFLICT (content): Merge conflict in config/crd/kustomization.yaml
Auto-merging config/crd/bases/controlplane.cluster.x-k8s.io_rosacontrolplanes.yaml
CONFLICT (content): Merge conflict in config/crd/bases/controlplane.cluster.x-k8s.io_rosacontrolplanes.yaml
Auto-merging PROJECT
CONFLICT (content): Merge conflict in PROJECT
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config advice.mergeConflict false"
Patch failed at 0001 RosaNetwork: new CRD & reconciler to provision net infra for ROSA-HCP

In response to this:

/cherry-pick release-2.9

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-sigs/prow repository.

/cherry-pick release-2.9

serngawy avatar Oct 07 '25 20:10 serngawy

@serngawy: new pull request created: #5701

In response to this:

/cherry-pick release-2.9

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-sigs/prow repository.