Closed astefanutti closed 3 months ago
OpenAPI on virtual workspaces is not supported for now, so this is known not to work.
Using kubectl apply --validate=false
as suggested by @davidfestal makes it work.
Maybe a short-term option would be to improve the return the error message if that's possible, to something like operation not supported
, instead of Error from server (NotFound): the server could not find the requested resource
.
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
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
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen
.
Mark the issue as fresh with /remove-lifecycle rotten
.
/close
@kcp-ci-bot: Closing this issue.
Describe the bug
Executing the
kubectl apply
orkubectl create
commands using an APIExport virtual workspace URL do not work.To Reproduce
Steps to reproduce the behavior:
The following trace is printed with the
--v=9
option:Expected behavior
The
kubectl apply
command should work.Additional context
The
kubectl get
command works:The issue also affects the
kubectl create
command.