-
Notifications
You must be signed in to change notification settings - Fork 394
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 root:compute deps in controller #2877
Conversation
/hold still working on fixing the e2e test.. |
pkg/reconciler/workload/apiexport/workload_apiexport_controller.go
Outdated
Show resolved
Hide resolved
pkg/reconciler/workload/apiexport/workload_apiexport_reconcile.go
Outdated
Show resolved
Hide resolved
80058d7
to
e7dde71
Compare
e7dde71
to
155d814
Compare
d8c93af
to
b31c96a
Compare
for _, resource := range resourceToSync { | ||
nameParts := strings.SplitN(resource, ".", 2) | ||
resourceName := nameParts[0] | ||
apiGroup := "core" |
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.
Is this a constant we can import?
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.
Do you mean, should we use:
corev1.GenericControlPlaneGroupName
?
Even in the kubernetes fork, it doesn't seem to be used in such cases. Here is an example of those:
pkg/reconciler/workload/apiexport/workload_apiexport_reconcile.go
Outdated
Show resolved
Hide resolved
85c6c3e
to
e54daad
Compare
tmc/pkg/virtual/syncer/controllers/apireconciler/syncer_apireconciler_indexes.go
Outdated
Show resolved
Hide resolved
pkg/reconciler/workload/apiexport/workload_apiexport_reconcile.go
Outdated
Show resolved
Hide resolved
pkg/reconciler/workload/apiexport/workload_apiexport_reconcile.go
Outdated
Show resolved
Hide resolved
pkg/reconciler/workload/apiexport/workload_apiexport_reconcile.go
Outdated
Show resolved
Hide resolved
pkg/reconciler/workload/synctargetexports/synctarget_indexes.go
Outdated
Show resolved
Hide resolved
61964de
to
fa3c22a
Compare
@qiujian16 there's still a test failing. |
efa78a8
to
9d3be02
Compare
9d3be02
to
7644e05
Compare
/test e2e-sharded |
e584b2f
to
c41ff68
Compare
/lgtm |
c41ff68
to
22e9551
Compare
1. create imported-api APIExport during sync cmd if resources flag is set 2. controller updated imported-api APIExport with updated APIResourceSchema 3. remove auto-generated apibinding 4. add a validation on sync command to avoid setting imported-apis in --api-export flag Signed-off-by: Jian Qiu <[email protected]>
22e9551
to
ed885aa
Compare
/lgtm |
/unhold |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: 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 |
Summary
Related issue(s)
Fixes #2625