Skip to content
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

bug: kubectl kcp bind apiexport does not support . in APIExport name #2763

Open
yastij opened this issue Feb 8, 2023 · 2 comments
Open

bug: kubectl kcp bind apiexport does not support . in APIExport name #2763

yastij opened this issue Feb 8, 2023 · 2 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.

Comments

@yastij
Copy link

yastij commented Feb 8, 2023

Describe the bug

while testing binding to an APIExport in a different workspace, @fabriziopandini and I noticed that binding to an export with a . in the name is not working when using kubectl kcp bind apiexport. when applying the APIBinding resource everything works as expected

Steps To Reproduce

  1. create an APIExport with a . (e.g. bar.dev) in the name in workspace foo
  2. from another workspace run kubectl kcp bind apiexport root:foo:bar.dev --name bar-binding
  3. you will get the following:
error: fully qualified reference to workspace where APIExport exists is required. The format is `<logical-cluster-name>:<apiexport>` or `<full>:<path>:<to>:<apiexport>`

Expected Behaviour

I would expect the bind to succeed

Additional Context

tested from the main branch

@yastij yastij added the kind/bug Categorizes issue or PR as related to a bug. label Feb 8, 2023
@yastij yastij changed the title bug: kubectl kcp bind apiexport does not support . in name bug: kubectl kcp bind apiexport does not support . in APIExport name Feb 8, 2023
@kcp-ci-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.
After a furter 30 days, they will turn rotten.
Mark the issue as fresh with /remove-lifecycle stale.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@kcp-ci-bot kcp-ci-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 15, 2024
@kcp-ci-bot
Copy link
Contributor

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

/lifecycle rotten

@kcp-ci-bot kcp-ci-bot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed.
Projects
Status: Backlog
Development

No branches or pull requests

2 participants