Skip to content

Conversation

ayetealab
Copy link

@ayetealab ayetealab commented Oct 1, 2025

Summary

Propagate Namespace Metadata on Creation

This PR introduces optional propagation of namespace metadata (labels and annotations) from KCP workspaces into destination workload clusters during namespace creation.

  • Default behavior remains unchanged — namespaces are still created in a "one-and-done" manner with no metadata, unless the APIExport and APIBinding explicitly expose and grant permission claims for namespaces.
  • When permitted, the sync-agent will copy labels and annotations from the source namespace into the destination namespace at creation time.
  • No ongoing sync of namespace metadata is introduced - namespaces are not promoted to first-class sync targets.

What Type of PR Is This?

/kind feature

Related Issue(s)

Fixes #97

Release Notes

NONE

@kcp-ci-bot kcp-ci-bot added release-note-none Denotes a PR that doesn't merit a release note. kind/feature Categorizes issue or PR as related to a new feature. labels Oct 1, 2025
@kcp-ci-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign embik for approval. For more information see the Kubernetes Code Review Process.

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

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

@kcp-ci-bot kcp-ci-bot added dco-signoff: no Indicates the PR's author has not signed the DCO. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Oct 1, 2025
@kcp-ci-bot
Copy link
Contributor

Hi @ayetealab. Thanks for your PR.

I'm waiting for a kcp-dev member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@kcp-ci-bot kcp-ci-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 1, 2025
…n environment

Signed-off-by: Brian Philip <brian.b.philip@shell.com>
@ayetealab ayetealab force-pushed the feature/add-namespace-metadata branch from 7b18943 to 39d0a51 Compare October 2, 2025 07:19
@kcp-ci-bot kcp-ci-bot added dco-signoff: yes Indicates the PR's author has signed the DCO. and removed dco-signoff: no Indicates the PR's author has not signed the DCO. labels Oct 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dco-signoff: yes Indicates the PR's author has signed the DCO. kind/feature Categorizes issue or PR as related to a new feature. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature: Support optional propagation of Namespace labels/annotations from KCP workspaces to destination clusters
2 participants