Skip to content

Commit

Permalink
use underscore in binary to make it work with kubectl
Browse files Browse the repository at this point in the history
Signed-off-by: Rajat Jindal <[email protected]>
  • Loading branch information
rajatjindal committed Jan 15, 2024
1 parent e274167 commit 7e665db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
builds:
- id: kubectl-modify-secret
main: ./
binary: kubectl-modify-secret
binary: kubectl-modify_secret
env:
- CGO_ENABLED=0
ldflags:
Expand Down
10 changes: 5 additions & 5 deletions .krew.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
files:
- from: "*"
to: "."
bin: kubectl-modify-secret
bin: kubectl-modify_secret
- selector:
matchLabels:
os: darwin
Expand All @@ -22,7 +22,7 @@ spec:
files:
- from: "*"
to: "."
bin: kubectl-modify-secret
bin: kubectl-modify_secret
- selector:
matchLabels:
os: linux
Expand All @@ -31,7 +31,7 @@ spec:
files:
- from: "*"
to: "."
bin: kubectl-modify-secret
bin: kubectl-modify_secret
- selector:
matchLabels:
os: linux
Expand All @@ -40,7 +40,7 @@ spec:
files:
- from: "*"
to: "."
bin: kubectl-modify-secret
bin: kubectl-modify_secret
- selector:
matchLabels:
os: windows
Expand All @@ -49,7 +49,7 @@ spec:
files:
- from: "*"
to: "."
bin: kubectl-modify-secret.exe
bin: kubectl-modify_secret.exe
shortDescription: modify secret with implicit base64 translations
description: |
Usage:
Expand Down

0 comments on commit 7e665db

Please sign in to comment.