zncdatadev / hive-operator

Operator for Apache Hive
Apache License 2.0
5 stars 5 forks source link

[Bug]: `kustomize` section in `MakeFile` occur make errors #82

Closed lwpk110 closed 1 month ago

lwpk110 commented 1 month ago

Describe the bug

when execute make kustomize command, the errors will display below:

➜  hive-operator git:(feature/affinity) ✗ make kustomize    
mkdir -p /home/luwei/workspace/znc-git/hive-operator/bin
test -s /home/luwei/workspace/znc-git/hive-operator/bin/kustomize || { curl -Ss "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash -s -- 5.3.0 /home/luwei/workspace/znc-git/hive-operator/bin; }
Version v5.3.0 does not exist or is not available for linux/amd64.
make: *** [Makefile:202:/home/luwei/workspace/znc-git/hive-operator/bin/kustomize] 错误 1

Have you searched existing issues? 🔎

Reproduction

first, delete bin directory

then, execute command in project root:

$ make kustomize

the error also display for make install, make uninstall or make deploy , these commands are all related to kustomize

Screenshot

No response

Logs

➜  hive-operator git:(feature/affinity) ✗ make kustomize    
mkdir -p /home/luwei/workspace/znc-git/hive-operator/bin
test -s /home/luwei/workspace/znc-git/hive-operator/bin/kustomize || { curl -Ss "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash -s -- 5.3.0 /home/luwei/workspace/znc-git/hive-operator/bin; }
Version v5.3.0 does not exist or is not available for linux/amd64.
make: *** [Makefile:202:/home/luwei/workspace/znc-git/hive-operator/bin/kustomize] 错误 1

System Info

- go version: go1.21.7 linux/amd64
- Operating System: Deepin 23                       
- Kernel: Linux 6.1.32-amd64-desktop-hwe
- Architecture: x86-64

Severity

I can work around it