@@ -36,38 +36,26 @@ $ brew install operator-sdk
36
36
$ RELEASE_VERSION=v1.2.0
37
37
# Linux
38
38
$ curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION} /operator-sdk-${RELEASE_VERSION} -x86_64-linux-gnu
39
- $ curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION} /ansible-operator-${RELEASE_VERSION} -x86_64-linux-gnu
40
- $ curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION} /helm-operator-${RELEASE_VERSION} -x86_64-linux-gnu
41
39
# macOS
42
40
$ curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION} /operator-sdk-${RELEASE_VERSION} -x86_64-apple-darwin
43
- $ curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION} /ansible-operator-${RELEASE_VERSION} -x86_64-apple-darwin
44
- $ curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION} /helm-operator-${RELEASE_VERSION} -x86_64-apple-darwin
45
41
```
46
42
47
43
#### Verify the downloaded release binaries
48
44
49
45
``` sh
50
46
# Linux
51
47
$ curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION} /operator-sdk-${RELEASE_VERSION} -x86_64-linux-gnu.asc
52
- $ curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION} /ansible-operator-${RELEASE_VERSION} -x86_64-linux-gnu.asc
53
- $ curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION} /helm-operator-${RELEASE_VERSION} -x86_64-linux-gnu.asc
54
48
# macOS
55
49
$ curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION} /operator-sdk-${RELEASE_VERSION} -x86_64-apple-darwin.asc
56
- $ curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION} /ansible-operator-${RELEASE_VERSION} -x86_64-apple-darwin.asc
57
- $ curl -LO https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION} /helm-operator-${RELEASE_VERSION} -x86_64-apple-darwin.asc
58
50
```
59
51
60
52
To verify a release binary using the provided asc files, place the binary and corresponding asc file into the same directory and use the corresponding command:
61
53
62
54
``` sh
63
55
# Linux
64
56
$ gpg --verify operator-sdk-${RELEASE_VERSION} -x86_64-linux-gnu.asc
65
- $ gpg --verify ansible-operator-${RELEASE_VERSION} -x86_64-linux-gnu.asc
66
- $ gpg --verify helm-operator-${RELEASE_VERSION} -x86_64-linux-gnu.asc
67
57
# macOS
68
58
$ gpg --verify operator-sdk-${RELEASE_VERSION} -x86_64-apple-darwin.asc
69
- $ gpg --verify ansible-operator-${RELEASE_VERSION} -x86_64-apple-darwin.asc
70
- $ gpg --verify helm-operator-${RELEASE_VERSION} -x86_64-apple-darwin.asc
71
59
```
72
60
73
61
If you do not have the maintainers public key on your machine, you will get an error message similar to this:
@@ -99,12 +87,8 @@ Now you should be able to verify the binary.
99
87
```sh
100
88
# Linux
101
89
$ chmod +x operator-sdk-${RELEASE_VERSION}-x86_64-linux-gnu && sudo mkdir -p /usr/local/bin/ && sudo cp operator-sdk-${RELEASE_VERSION}-x86_64-linux-gnu /usr/local/bin/operator-sdk && rm operator-sdk-${RELEASE_VERSION}-x86_64-linux-gnu
102
- $ chmod +x ansible-operator-${RELEASE_VERSION}-x86_64-linux-gnu && sudo mkdir -p /usr/local/bin/ && sudo cp ansible-operator-${RELEASE_VERSION}-x86_64-linux-gnu /usr/local/bin/ansible-operator && rm ansible-operator-${RELEASE_VERSION}-x86_64-linux-gnu
103
- $ chmod +x helm-operator-${RELEASE_VERSION}-x86_64-linux-gnu && sudo mkdir -p /usr/local/bin/ && sudo cp helm-operator-${RELEASE_VERSION}-x86_64-linux-gnu /usr/local/bin/helm-operator && rm helm-operator-${RELEASE_VERSION}-x86_64-linux-gnu
104
90
# macOS
105
91
$ chmod +x operator-sdk-${RELEASE_VERSION}-x86_64-apple-darwin && sudo mkdir -p /usr/local/bin/ && sudo cp operator-sdk-${RELEASE_VERSION}-x86_64-apple-darwin /usr/local/bin/operator-sdk && rm operator-sdk-${RELEASE_VERSION}-x86_64-apple-darwin
106
- $ chmod +x ansible-operator-${RELEASE_VERSION}-x86_64-apple-darwin && sudo mkdir -p /usr/local/bin/ && sudo cp ansible-operator-${RELEASE_VERSION}-x86_64-apple-darwin /usr/local/bin/ansible-operator && rm ansible-operator-${RELEASE_VERSION}-x86_64-apple-darwin
107
- $ chmod +x helm-operator-${RELEASE_VERSION}-x86_64-apple-darwin && sudo mkdir -p /usr/local/bin/ && sudo cp helm-operator-${RELEASE_VERSION}-x86_64-apple-darwin /usr/local/bin/helm-operator && rm helm-operator-${RELEASE_VERSION}-x86_64-apple-darwin
108
92
```
109
93
110
94
## Compile and install from master
0 commit comments