Skip to content

Move platform metadata off *.kcp.io and fix CLI, tilt and console rough edges - #11

Merged
mjudeikis merged 1 commit into
kcp-dev:marketplace.vwfrom
olamilekan000:marketplace.vw
Oct 22, 2026
Merged

mjudeikis merged 1 commit into
kcp-dev:marketplace.vwfrom
olamilekan000:marketplace.vw

Conversation

@olamilekan000

Copy link
Copy Markdown
  • Rename tenancy.platform.kcp.io/owner-uid to tenancy.kcp.hub/owner-uid and marketplace.platform.kcp.io/* to marketplace.kcp.hub/*, since kcp's ReservedMetadata admission rejects *.kcp.io keys from non-system callers
  • Update example and quickstart APIExports and READMEs for the new keys
  • contribctl offers and enable fall back to the token cached by login
  • Tilt operators wait for ingress-forward so they no longer exit before kcp is reachable
  • Tilt seeds with contribctl admin seed
  • Console Admin page can register a provisioned Producer, with name validation
  • API Explorer skips listing kinds that cannot be listed
  • Catalog explains how to publish an API when it is empty
  • Clearer subtitles on the API Explorer and Catalog pages

@kcp-ci-bot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

…h edges

- Rename tenancy.platform.kcp.io/owner-uid to tenancy.kcp.hub/owner-uid
  and marketplace.platform.kcp.io/* to marketplace.kcp.hub/*, since kcp's
  ReservedMetadata admission rejects *.kcp.io keys from non-system callers
- Update example and quickstart APIExports and READMEs for the new keys
- tenancy and marketplace init update their RBAC in place, so restarts no
  longer fail the reserved-metadata check on internal.kcp.io annotations
- tenancy and marketplace init grant a narrow platform-admin role
  (--platform-admin-user/--platform-admin-group); Tilt adds the
  admin@platform.example.com dex user as platform admin
- contribctl offers and enable fall back to the token cached by login
- Tilt operators wait for ingress-forward before starting
- Tilt seeds with contribctl admin seed
- Console Admin page registers Producers, shown only to those allowed
- API Explorer skips listing kinds that cannot be listed
- Catalog explains how to publish an API when it is empty
- Return the server error on shutdown instead of dropping it (errcheck)
- Remove committed vitest cache and tsbuildinfo, and ignore them
- make test-e2e includes marketplace

Signed-off-by: olamilekan000 <odukoyaonline@gmail.com>
// naming candidates, and how a collision with someone else's workspace is
// told apart from an earlier run of the same reconcile.
const ownerUIDLabel = tenancyv1alpha1.GroupName + "/owner-uid"
const ownerUIDLabel = "tenancy.kcp.hub/owner-uid"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Lets move into api please

@mjudeikis mjudeikis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

one nit. can be done in follow-up

@mjudeikis
mjudeikis merged commit 14476ca into kcp-dev:marketplace.vw Oct 22, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants