Skip to content

Commit 012df52

Browse files
committed
rename troubleshoot binary to support-bundle
1 parent f9efac3 commit 012df52

File tree

5 files changed

+23
-23
lines changed

5 files changed

+23
-23
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ test: generate fmt vet manifests
1313
manager: generate fmt vet
1414
go build -o bin/manager github.com/replicatedhq/troubleshoot/cmd/manager
1515

16-
.PHONY: troubleshoot
17-
troubleshoot: generate fmt vet
18-
go build -o bin/troubleshoot github.com/replicatedhq/troubleshoot/cmd/troubleshoot
16+
.PHONY: support-bundle
17+
support-bundle: generate fmt vet
18+
go build -o bin/support-bundle github.com/replicatedhq/troubleshoot/cmd/troubleshoot
1919

2020
.PHONY: collector
2121
collector: generate fmt vet
@@ -104,8 +104,8 @@ run-preflight: preflight
104104
./config/samples/troubleshoot_v1beta1_preflight.yaml
105105

106106
.PHONY: run-troubleshoot
107-
run-troubleshoot: troubleshoot
108-
./bin/troubleshoot \
107+
run-troubleshoot: support-bundle
108+
./bin/support-bundle \
109109
--image=localhost:32000/troubleshoot:alpha \
110110
--pullpolicy=Always \
111111
./config/samples/troubleshoot_v1beta1_collector.yaml

deploy/.goreleaser.local.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ builds:
5050
-X github.com/replicatedhq/troubleshoot/pkg/version.buildTime={{.Date}}
5151
-extldflags "-static"
5252
flags: -tags netgo -installsuffix netgo
53-
binary: troubleshoot
53+
binary: support-bundle
5454
hooks: {}
5555
- id: manager
5656
goos:
@@ -87,14 +87,14 @@ dockers:
8787
- "replicated/troubleshoot:alpha"
8888
binaries:
8989
- collector
90-
- troubleshoot
90+
- support-bundle
9191
- preflight
9292
- dockerfile: ./deploy/Dockerfile.troubleshoot
9393
image_templates:
9494
- "replicated/preflight:alpha"
9595
binaries:
9696
- collector
97-
- troubleshoot
97+
- support-bundle
9898
- preflight
9999
- dockerfile: ./deploy/Dockerfile.manager
100100
image_templates:

deploy/.goreleaser.snapshot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ builds:
5454
-X github.com/replicatedhq/troubleshoot/pkg/version.buildTime={{.Date}}
5555
-extldflags "-static"
5656
flags: -tags netgo -installsuffix netgo
57-
binary: troubleshoot
57+
binary: support-bundle
5858
hooks: {}
5959
- id: manager
6060
goos:
@@ -91,14 +91,14 @@ dockers:
9191
- "replicated/troubleshoot:alpha"
9292
binaries:
9393
- collector
94-
- troubleshoot
94+
- support-bundle
9595
- preflight
9696
- dockerfile: ./deploy/Dockerfile.troubleshoot
9797
image_templates:
9898
- "replicated/preflight:alpha"
9999
binaries:
100100
- collector
101-
- troubleshoot
101+
- support-bundle
102102
- preflight
103103
- dockerfile: ./deploy/Dockerfile.manager
104104
image_templates:

deploy/Dockerfile.troubleshoot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ RUN apt-get -qq update \
55
&& apt-get -qq -y install \
66
ca-certificates
77

8-
COPY troubleshoot /troubleshoot/troubleshoot
8+
COPY support-bundle /troubleshoot/support-bundle
99
COPY collector /troubleshoot/collector
1010
COPY preflight /troubleshoot/preflight
1111

deploy/krew/troubleshoot.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,54 @@
11
apiVersion: krew.googlecontainertools.github.com/v1alpha2
22
kind: Plugin
33
metadata:
4-
name: troubleshoot
4+
name: support-bundle
55
spec:
66
version: "v0.9.2"
77
platforms:
88
- selector:
99
matchLabels:
1010
os: linux
1111
arch: amd64
12-
uri: https://github.com/replicatedhq/troubleshoot/releases/download/v0.9.2/troubleshoot_0.9.2_linux_amd64-0.9.2.tar.gz
12+
uri: https://github.com/replicatedhq/troubleshoot/releases/download/v0.9.2/support-bundle_0.9.2_linux_amd64-0.9.2.tar.gz
1313
sha256: "7d730975ba9bf2a823a6cb068371e471b2a71078f12f541864a82847a163d4c6"
1414
files:
15-
- from: "/troubleshoot"
15+
- from: "/support-bundle"
1616
to: "."
17-
bin: "troubleshoot"
17+
bin: "support-bundle"
1818
- selector:
1919
matchLabels:
2020
os: darwin
2121
arch: amd64
2222
uri: https://github.com/replicatedhq/troubleshoot/releases/download/v0.9.2/troubleshoot_0.9.2_darwin_amd64-0.9.2.tar.gz
2323
sha256: "f7993391270c780af51d3ce00768801e99792561850f4e07d658047384de64f0"
2424
files:
25-
- from: "/troubleshoot"
25+
- from: "/support-bundle"
2626
to: "."
27-
bin: "troubleshoot"
27+
bin: "support-bundle"
2828
- selector:
2929
matchLabels:
3030
os: windows
3131
arch: amd64
3232
uri: https://github.com/replicatedhq/troubleshoot/releases/download/v0.9.2/troubleshoot_0.9.2_windows_amd64-0.9.2.zip
3333
sha256: "58ef1fac44a2c8dc7f6b4cd5170a36109abb5ae242707363dcc147f966fe8d1d"
3434
files:
35-
- from: "/troubleshoot.exe"
35+
- from: "/support-bundle.exe"
3636
to: "."
37-
bin: "troubleshoot.exe"
37+
bin: "support-bundle.exe"
3838
shortDescription: Creates support bundles for off-cluster analysis
3939
homepage: https://github.com/replicatedhq/troubleshoot
4040
caveats: |
4141
Usage:
42-
$ kubectl troubleshoot <uri>
42+
$ kubectl support-bundle <uri>
4343
4444
where <uri> references a set of application collectors
4545
4646
For example:
4747
48-
$ kubectl troubleshoot https://troubleshoot.replicated.com
48+
$ kubectl support-bundle https://troubleshoot.replicated.com
4949
5050
For additional options:
51-
$ kubectl troubleshoot --help
51+
$ kubectl support-bundle --help
5252
5353
Documentation:
5454
Full documentation on this plugin is available at:

0 commit comments

Comments
 (0)