Skip to content

Commit 0d5f969

Browse files
authored
feat(krew): add linux/arm64 to krew plugin manifests (#1072)
The binaries are published, and that platform is supported by krew, so it makes sense to also offer this as a krew plugin.
1 parent 3f289b7 commit 0d5f969

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

deploy/krew/preflight.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,17 @@ spec:
1616
- from: LICENSE
1717
to: .
1818
bin: preflight
19+
- selector:
20+
matchLabels:
21+
os: linux
22+
arch: arm64
23+
{{addURIAndSha "https://github.com/replicatedhq/troubleshoot/releases/download/{{ .TagName }}/preflight_linux_arm64.tar.gz" .TagName }}
24+
files:
25+
- from: preflight
26+
to: .
27+
- from: LICENSE
28+
to: .
29+
bin: preflight
1930
- selector:
2031
matchLabels:
2132
os: linux
@@ -48,7 +59,7 @@ spec:
4859
to: .
4960
- from: LICENSE
5061
to: .
51-
bin: preflight
62+
bin: preflight
5263
- selector:
5364
matchLabels:
5465
os: windows

deploy/krew/support-bundle.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,17 @@ spec:
1616
- from: LICENSE
1717
to: .
1818
bin: support-bundle
19+
- selector:
20+
matchLabels:
21+
os: linux
22+
arch: arm64
23+
{{addURIAndSha "https://github.com/replicatedhq/troubleshoot/releases/download/{{ .TagName }}/support-bundle_linux_arm64.tar.gz" .TagName }}
24+
files:
25+
- from: support-bundle
26+
to: .
27+
- from: LICENSE
28+
to: .
29+
bin: support-bundle
1930
- selector:
2031
matchLabels:
2132
os: linux
@@ -48,7 +59,7 @@ spec:
4859
to: .
4960
- from: LICENSE
5061
to: .
51-
bin: support-bundle
62+
bin: support-bundle
5263
- selector:
5364
matchLabels:
5465
os: windows

0 commit comments

Comments
 (0)