shipwright-io / operator

An operator to install and configure Shipwright Builds on Kubernetes clusters.
Apache License 2.0
17 stars 17 forks source link

[BUG] `make operator-sdk` doesn't install operator-sdk binary on Apple M1 mac #212

Open ayushsatyam146 opened 3 months ago

ayushsatyam146 commented 3 months ago

Is there an existing issue for this?

Kubernetes Version

Client Version: v1.28.1 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.29.2

Shipwright Version

0.13.0

Current Behavior

operator-sdk is a text file in the /bin directory of operator repository containing "Not found" instead of an actual binary

Expected Behavior

creation of operator-sdk binary in /bin directory on running make operator-sdk

Steps To Reproduce

  1. On a apple M1 mac clone the shipwright/operator repository
  2. Run make operator-sdk

Anything else?

Hotfix:

  1. Install operator-sdk for mac locally on your system
  2. Run whereis operator-sdk to get absolute path for the installed operator-sdk binary
  3. Copy the binary from that path to the shipwright/operator/bin path
  4. Run chmod +x bin/operator-sdk
adambkaplan commented 2 months ago

Blocked by #139

qu1queee commented 3 days ago

From Refinement, @adambkaplan do you need help with the blocking issue #139 ?