You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the bug happens during installation using curl -sSLf https://get.testkube.io | sh
in case there is failure during installation the script cannot be ran again due to the following error
ln: failed to create symbolic link '/usr/local/bin/testkube': No such file or directory
ln: failed to create symbolic link '/usr/local/bin/tk': No such file or directory
kubectl-testkube installed in:
/usr/local/bin/kubectl-testkube
/usr/local/bin/testkube
/usr/local/bin/tk To Reproduce
Steps to reproduce the behavior:
Run curl -sSLf https://get.testkube.io | sh
Re-run the script again
See error
Expected behavior
the install script should be idempotent and be able to run on the same machine multiple times
Version / Cluster
Which testkube version? latest
What Kubernetes cluster? local k3d cluster
What Kubernetes version?
Client Version: v1.30.1
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.25.2+k3s1
Screenshots
The text was updated successfully, but these errors were encountered:
the fix will be by forcing the symlink creation
to change the script ln -s /usr/local/bin/kubectl-testkube /usr/local/bin/testkube ln -s /usr/local/bin/kubectl-testkube /usr/local/bin/tk
to ln -sf /usr/local/bin/kubectl-testkube /usr/local/bin/testkube ln -sf /usr/local/bin/kubectl-testkube /usr/local/bin/tk
Describtion
curl -sSLf https://get.testkube.io | sh
ln: failed to create symbolic link '/usr/local/bin/testkube': No such file or directory
ln: failed to create symbolic link '/usr/local/bin/tk': No such file or directory
kubectl-testkube installed in:
To Reproduce
Steps to reproduce the behavior:
curl -sSLf https://get.testkube.io | sh
Expected behavior
the install script should be idempotent and be able to run on the same machine multiple times
Version / Cluster
Client Version: v1.30.1
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.25.2+k3s1
Screenshots
The text was updated successfully, but these errors were encountered: