-
Notifications
You must be signed in to change notification settings - Fork 326
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
Conversation
fb2e1a9
to
d053184
Compare
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)","") |
There was a problem hiding this comment.
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.
There was a problem hiding this 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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
- 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
4462bac
to
7c192b6
Compare
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. |
Changes proposed in this PR
resource-apis
andv2tenancy
experimentshttps://hashicorp.atlassian.net/browse/NET-9089