apibinding kubernetes-1pre20xf for apiexport root:compute:kubernetes created.
placement created.
error: bind compute is not ready : resource name may not be empty
[knarra@knarra root-org]$ kubectl kcp --version
kcp version v1.24.3+kcp-v0.10.0
Steps To Reproduce
Install KCP
create location workspace called lw1
create synctarget which supports knative
create workload workspace called ww1
Bind compute to workload workspace using the commandkcp bind compute root:users:qf:vg:rh-sso-knarra-redhat-com:lw1
Realize that have not added required resources for knative during synctarget addition, so run'workload sync --resources & kubectl apply -f " again
Now run the command from the workload workspace ww1 kubectl kcp bind compute root:users:qf:vg:rh-sso-knarra-redhat-com:lw1 --apiexports=root:users:qf:vg:rh-sso-knarra-redhat-com:lw1:kubernetes
Since there is a placement already created after step5, i see that command fails with error as described above
Expected Behaviour
Command should not throw any error as it is misleading the user
Additional Context
Tried with -v=9 command and i see that command is trying to create another placement and since there is a placement that already exists the above error is shown is what i understand
Describe the bug
When trying to bind an apiexport using the command ‘kubectl kcp bind compute --apiexports :’ error described above is hit.
[knarra@knarra root-org]$ kubectl kcp bind compute root:users:qf:vg:rh-sso-knarra-redhat-com:lw1 --apiexports=root:users:qf:vg:rh-sso-knarra-redhat-com:lw1:kubernetes
apibinding kubernetes-1pre20xf for apiexport root:compute:kubernetes created. placement created. error: bind compute is not ready : resource name may not be empty
[knarra@knarra root-org]$ kubectl kcp --version kcp version v1.24.3+kcp-v0.10.0
Steps To Reproduce
lw1
ww1
kcp bind compute root:users:qf:vg:rh-sso-knarra-redhat-com:lw1
kubectl kcp bind compute root:users:qf:vg:rh-sso-knarra-redhat-com:lw1 --apiexports=root:users:qf:vg:rh-sso-knarra-redhat-com:lw1:kubernetes
Expected Behaviour
Command should not throw any error as it is misleading the user
Additional Context
Tried with -v=9 command and i see that command is trying to create another placement and since there is a placement that already exists the above error is shown is what i understand
verbose output here: https://privatebin.corp.redhat.com/?28c3892a05a334f1#D9QK4pEA4SPxWh2bu32SDTw5wJkmthFKmxALGZaVK3yQ