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

feat: add new test CRD to replace kruise API #856

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

Arvindthiru
Copy link
Contributor

@Arvindthiru Arvindthiru commented Jun 19, 2024

Description of your changes

Fixes #

I have:

  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Special notes for your reviewer

Removing the kruise package dependency from repo.

Copy link

There was an error handling pipeline event 4a302cda-8d57-441d-b73c-30bdcc599603.

@@ -233,7 +233,7 @@ CRD_OPTIONS ?= "crd"
.PHONY: manifests
manifests: $(CONTROLLER_GEN)
$(CONTROLLER_GEN) \
$(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
$(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./apis/..." output:crd:artifacts:config=config/crd/bases
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This done to ensure we only generate CRDs for apis defined in fleet/apis directory

@Arvindthiru Arvindthiru marked this pull request as ready for review June 21, 2024 07:07
Copy link
Contributor

Choose a reason for hiding this comment

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

can we use a common crd for testing instead of creating multiple ones?

Copy link
Contributor

Choose a reason for hiding this comment

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

this PR is already huge, maybe a follow up one?

Copy link
Contributor

Choose a reason for hiding this comment

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

can we put the test file into a test common folder? so it can be reused.

@Arvindthiru Arvindthiru merged commit 81ab0b7 into Azure:main Jun 21, 2024
14 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.

3 participants