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

[Remove Default Objs 2/4] Set OwnerReference to default SriovOperatorConfig #621

Merged

Conversation

adrianchiris
Copy link
Collaborator

We are deprecating the use of the default SriovNetworkNodePolicy.
This PR changes the OwnerReference of sriov-network-device-plugin and SriovNetworkNodePolicy which are created
by the operator to point to the default SriovOperatorConfig CR.

This PR depends on #617 Only the last 2 commits are related (the rest will be rebased away once #617 merges)

Copy link

github-actions bot commented Feb 6, 2024

Thanks for your PR,
To run vendors CIs use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

@coveralls
Copy link

coveralls commented Feb 6, 2024

Pull Request Test Coverage Report for Build 7957326875

Details

  • -12 of 26 (53.85%) changed or added relevant lines in 3 files are covered.
  • 7 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.6%) to 34.448%

Changes Missing Coverage Covered Lines Changed/Added Lines %
controllers/sriovnetworknodepolicy_controller.go 0 12 0.0%
Files with Coverage Reduction New Missed Lines %
controllers/helper.go 7 65.77%
Totals Coverage Status
Change from base Build 7957248705: 0.6%
Covered Lines: 4131
Relevant Lines: 11992

💛 - Coveralls

@adrianchiris
Copy link
Collaborator Author

Related to: #592

@adrianchiris adrianchiris force-pushed the set-owner-ref-to-config branch from 249ad4b to 2216e2b Compare February 7, 2024 09:41
Copy link

github-actions bot commented Feb 7, 2024

Thanks for your PR,
To run vendors CIs use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

@adrianchiris adrianchiris changed the title Set OwnerReference to default SriovOperatorConfig [Remove Default Objs 2/4] Set OwnerReference to default SriovOperatorConfig Feb 8, 2024
Copy link
Collaborator

@ykulazhenkov ykulazhenkov left a comment

Choose a reason for hiding this comment

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

looks good, LGTM after rebase

Use default SriovOperatorConfig object instead
of default SriovNetworkNodePolicy.

This change is required as subsequent changes
will drop the creation of the default policy.

Signed-off-by: adrianc <[email protected]>
change SriovNetworkNodeState OwnerReference to
point to the "default" SriovOperatorConfig as
the current owner (default SriovNetworkNodePolicy)
is going to be removed in subsequent commit

Signed-off-by: adrianc <[email protected]>
@adrianchiris adrianchiris force-pushed the set-owner-ref-to-config branch from 2216e2b to 5b1bdda Compare February 19, 2024 09:27
Copy link

Thanks for your PR,
To run vendors CIs use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

Copy link
Member

@zeeke zeeke left a comment

Choose a reason for hiding this comment

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

LGTM

@zeeke zeeke merged commit 51c59b6 into k8snetworkplumbingwg:master Feb 19, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants