Installation
If you are using Homebrew, you can install the SDK CLI tool with the following command:
Prerequisites
- curl
- version 2.0+
1. Download the release binary
Set platform information:
export OS=$(uname | awk '{print tolower($0)}')
export OPERATOR_SDK_DL_URL=https://github.com/operator-framework/operator-sdk/releases/download/v1.15.0
curl -LO ${OPERATOR_SDK_DL_URL}/operator-sdk_${OS}_${ARCH}
2. Verify the downloaded binary
Import the operator-sdk release GPG key from keyserver.ubuntu.com
:
Download the checksums file and its signature, then verify the signature:
curl -LO ${OPERATOR_SDK_DL_URL}/checksums.txt.asc
gpg: assuming signed data in 'checksums.txt'
gpg: Signature made Fri 30 Oct 2020 12:15:15 PM PDT
gpg: Good signature from "Operator SDK (release) <cncf-operator-sdk@cncf.io>" [ultimate]
Make sure the checksums match:
You should see something similar to the following:
operator-sdk_linux_amd64: OK
3. Install the release binary in your PATH
chmod +x operator-sdk_${OS}_${ARCH} && sudo mv operator-sdk_${OS}_${ARCH} /usr/local/bin/operator-sdk
Prerequisites
- git
- version 1.15
- Ensure that your
GOPROXY
is set to
- Ensure that your