Skip to content

Edge admission accepts a capability version core does not implement #1071

Closed

Description

@privateip

Summary

Core admits an EdgeAttachment that uses a capability version core does not implement, as long as the provider's EdgeProvider declares that version. The provider contract says an unsupported version is refused before allocation with UnsupportedCapability, and core implements only SocketAccess/v1, PacketAccess/v1 and PrefixReachability/v1.

Admission compares each requested capability only with the provider's own list:

for _, c := range req.Capabilities {
if !slices.Contains(p.Capabilities, c) {
return refuse(UnsupportedCapability, "provider %q does not implement %s %s", req.Provider, c.Name, c.Version)
}
. The contract's rule is
- A request names one contract version and one version per capability. An unsupported version is refused before allocation with `UnsupportedContractVersion` or `UnsupportedCapability`.
.

#1066 is the same gap for the contract version.

Reproduce

  1. Register and approve an EdgeProvider whose capabilities include PacketAccess at v9.
  2. Grant it an EdgeService with PacketAccess.
  3. From the provider's pod, request an attachment with capability PacketAccess version v9.
  4. The attachment is Admitted and allocated an address.

Acceptance criteria

  • An attachment that uses a capability version core does not implement is refused with UnsupportedCapability, whatever its provider declares
  • Admission refuses no capability version core still supports

Activity

  1. added theissue type on Oct 24, 2026
  2. self-assigned this
    on Oct 24, 2026
  3. added a commit that references this issue on Oct 24, 2026
    962a574
  4. added
    galactic-edge
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

galactic-edge

Type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions