Skip to content

Commit 7e665db

Browse files
committed
use underscore in binary to make it work with kubectl
Signed-off-by: Rajat Jindal <rajatjindal83@gmail.com>
1 parent e274167 commit 7e665db

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
builds:
22
- id: kubectl-modify-secret
33
main: ./
4-
binary: kubectl-modify-secret
4+
binary: kubectl-modify_secret
55
env:
66
- CGO_ENABLED=0
77
ldflags:

.krew.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ spec:
1313
files:
1414
- from: "*"
1515
to: "."
16-
bin: kubectl-modify-secret
16+
bin: kubectl-modify_secret
1717
- selector:
1818
matchLabels:
1919
os: darwin
@@ -22,7 +22,7 @@ spec:
2222
files:
2323
- from: "*"
2424
to: "."
25-
bin: kubectl-modify-secret
25+
bin: kubectl-modify_secret
2626
- selector:
2727
matchLabels:
2828
os: linux
@@ -31,7 +31,7 @@ spec:
3131
files:
3232
- from: "*"
3333
to: "."
34-
bin: kubectl-modify-secret
34+
bin: kubectl-modify_secret
3535
- selector:
3636
matchLabels:
3737
os: linux
@@ -40,7 +40,7 @@ spec:
4040
files:
4141
- from: "*"
4242
to: "."
43-
bin: kubectl-modify-secret
43+
bin: kubectl-modify_secret
4444
- selector:
4545
matchLabels:
4646
os: windows
@@ -49,7 +49,7 @@ spec:
4949
files:
5050
- from: "*"
5151
to: "."
52-
bin: kubectl-modify-secret.exe
52+
bin: kubectl-modify_secret.exe
5353
shortDescription: modify secret with implicit base64 translations
5454
description: |
5555
Usage:

0 commit comments

Comments
 (0)