-
Notifications
You must be signed in to change notification settings - Fork 985
Revert cluster link identity type #16259
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
Revert cluster link identity type #16259
Conversation
…ate identity types" This reverts commit d051bf5. Signed-off-by: Kadin Sayani <[email protected]> License: Apache-2.0
This reverts commit 8b5c7c4. Signed-off-by: Kadin Sayani <[email protected]> License: Apache-2.0
…ivatable identities" This reverts commit b255459. Signed-off-by: Kadin Sayani <[email protected]> License: Apache-2.0
…mentations" This reverts commit e5228eb. Signed-off-by: Kadin Sayani <[email protected]> License: Apache-2.0
991e14e to
ec9d3a0
Compare
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.
Pull Request Overview
This PR reverts the cluster link identity type functionality by removing support for cluster link certificate authentication types that were previously added to LXD. The changes remove two identity types: "Cluster link certificate" and "Cluster link certificate (pending)" along with their associated code.
Key changes:
- Remove cluster link identity type constants and implementations
- Simplify token handling to only process client certificate pending identities
- Update authentication to exclude cluster link certificate types
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| shared/api/auth.go | Removes cluster link identity type constants |
| lxd/tokens.go | Simplifies expired pending identity retrieval to only handle client certificates |
| lxd/identity/type_interface.go | Removes cluster link identity type constants and removes types from registry |
| lxd/identity/certificate_cluster_link.go | Completely removes cluster link identity type implementations |
| lxd/db/cluster/identities.go | Removes cluster link activation logic and updates documentation |
| lxd/daemon.go | Removes cluster link certificate type from authentication candidates |
Signed-off-by: Kadin Sayani <[email protected]>
…usterLinkPending` API types" This reverts commit 06f4975. Signed-off-by: Kadin Sayani <[email protected]> License: Apache-2.0
ec9d3a0 to
1bdea8e
Compare
tomponline
left a comment
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.
ta
No description provided.