Skip to content

Commit 16d5e32

Browse files
committed
Publish krew plugin
Signed-off-by: Tamal Saha <[email protected]>
1 parent 16d852a commit 16d5e32

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ gen-krew-manifest:
308308
@sed \
309309
-e 's|{VERSION}|$(VERSION)|g' \
310310
-e 's|{SHA256SUM_DARWIN_AMD64}|$(shell sha256sum bin/$(BIN)-darwin-amd64.tar.gz | cut -d' ' -f1)|g' \
311+
-e 's|{SHA256SUM_DARWIN_ARM64}|$(shell sha256sum bin/$(BIN)-darwin-arm64.tar.gz | cut -d' ' -f1)|g' \
311312
-e 's|{SHA256SUM_LINUX_AMD64}|$(shell sha256sum bin/$(BIN)-linux-amd64.tar.gz | cut -d' ' -f1)|g' \
312313
-e 's|{SHA256SUM_LINUX_ARM}|$(shell sha256sum bin/$(BIN)-linux-arm.tar.gz | cut -d' ' -f1)|g' \
313314
-e 's|{SHA256SUM_LINUX_ARM64}|$(shell sha256sum bin/$(BIN)-linux-arm64.tar.gz | cut -d' ' -f1)|g' \

hack/krew/plugin.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ spec:
1919
- from: "*"
2020
to: "."
2121
bin: kubectl-voyager-darwin-amd64
22+
- selector:
23+
matchLabels:
24+
os: darwin
25+
arch: arm64
26+
uri: https://github.com/voyagermesh/cli/releases/download/{VERSION}/kubectl-voyager-darwin-arm64.tar.gz
27+
sha256: {SHA256SUM_DARWIN_ARM64}
28+
files:
29+
- from: "*"
30+
to: "."
31+
bin: kubectl-voyager-darwin-arm64
2232
- selector:
2333
matchLabels:
2434
os: linux

0 commit comments

Comments
 (0)