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 catalogv2 implementation and tests #4061

Merged
merged 2 commits into from
Jun 18, 2024
Merged

Conversation

rboyer
Copy link
Member

@rboyer rboyer commented May 30, 2024

Changes proposed in this PR

  • Remove all direct plumbing related to the resource-apis and v2tenancy experiments
  • Remove all remaining dead code pertaining to the remainder of Consul resources (all experimental)
  • Remove all tests of the above

https://hashicorp.atlassian.net/browse/NET-9089

@rboyer rboyer self-assigned this May 30, 2024
@rboyer rboyer force-pushed the rboyer/remove-catalogv2-impl branch from fb2e1a9 to d053184 Compare May 30, 2024 20:53
@rboyer rboyer added pr/no-changelog PR does not need a corresponding .changelog entry pr/no-backport signals that a PR will not contain a backport label labels May 30, 2024
@rboyer rboyer marked this pull request as ready for review June 4, 2024 18:13
@rboyer
Copy link
Member Author

rboyer commented Jun 4, 2024

Pretty sure now I have had all of the flavors of acceptance test pass at least once, so I probably didn't over-delete anything this time.

@@ -97,11 +99,32 @@ control-plane-fips-dev-docker: ## Build consul-k8s-control-plane FIPS dev Docker

.PHONY: control-plane-test
control-plane-test: ## Run go test for the control plane.
cd control-plane; go test ./...
ifeq ("$(GOTESTSUM_PATH)","")
Copy link
Member Author

Choose a reason for hiding this comment

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

I cribbed this conditional gotestsum running approach from the consul main repo to help when I was running and re-running the normal tests.

Copy link
Contributor

@DanStough DanStough left a comment

Choose a reason for hiding this comment

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

My only blocking comment is deleting the rest of the v2 Namespace controller that uses the V1 APIs.

Copy link
Contributor

Choose a reason for hiding this comment

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

Interesting, so we were including the V2 CRDs all of the time, not just when resource-apis was enabled? 🤔 . No action required.

Copy link
Contributor

@DanStough DanStough Jun 6, 2024

Choose a reason for hiding this comment

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

This namespace controller only appears in v2controllers.go. I think we can remove the whole directory, correct?

Copy link
Contributor

@DanStough DanStough left a comment

Choose a reason for hiding this comment

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

:shipit: 🚀

rboyer added 2 commits June 17, 2024 13:41
- Remove all direct plumbing related to the resource-apis and v2tenancy experiments
- Remove all remaining dead code pertaining to the remainder of Consul resources (all experimental)
- Remove all tests of the above
@zalimeni
Copy link
Member

zalimeni commented Oct 18, 2024

Removing labels for now but wondering whether we should backport this change to 1.4-1.6 to avoid discrepancies in backports of other changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr/no-backport signals that a PR will not contain a backport label pr/no-changelog PR does not need a corresponding .changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants