-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add gopass plugin to krew plugin index #208
Changes from all commits
52bddd4
13bc453
03cbfac
7bf90c0
4fe56f2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,32 @@ | ||||||
apiVersion: krew.googlecontainertools.github.com/v1alpha2 | ||||||
kind: Plugin | ||||||
metadata: | ||||||
name: gopass | ||||||
spec: | ||||||
version: "v0.0.4" | ||||||
platforms: | ||||||
- selector: | ||||||
matchExpressions: | ||||||
- {key: os, operator: In, values: [darwin, linux]} | ||||||
uri: https://github.com/gopasspw/kubectl-gopass/archive/v0.0.4.zip | ||||||
sha256: "8bae04664693153555af921fb19b896aaccf39f7dec200e430816ff3fa47e1eb" | ||||||
files: | ||||||
- from: "/kubectl-gopass-*/kubectl-gopass" | ||||||
to: "." | ||||||
bin: "./kubectl-gopass" | ||||||
- selector: | ||||||
matchLabels: | ||||||
os: windows | ||||||
uri: https://github.com/gopasspw/kubectl-gopass/archive/v0.0.4.zip | ||||||
sha256: "8bae04664693153555af921fb19b896aaccf39f7dec200e430816ff3fa47e1eb" | ||||||
files: | ||||||
- from: "/kubectl-gopass-*/kubectl-gopass" | ||||||
to: "kubectl-gopass.exe" | ||||||
bin: "./kubectl-gopass.exe" | ||||||
shortDescription: Imports secrets from gopass | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Making it a capital
|
||||||
homepage: https://github.com/gopasspw/kubectl-gopass | ||||||
caveats: | | ||||||
This plugin requires bash and gopass | ||||||
description: | | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Most plugins also give some basic usage instructions and how to get help. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it's ok if --help/-h works. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can copy / paste the usage output here, but not sure what you will gain. I think the usage is quite obvious for gopass users right? |
||||||
This plugin allows applying and diffing secrets from gopass to kubernetes | ||||||
and creating kubernetes secrets in gopass (https://www.gopass.pw/). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The script is in pure bash. I think it would also make sense to allow installation on Windows and mention bash as a pre-requisite (which you already do).
Note: for windows, the script should have a
.exe
ending.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, windows has bash support in newest windows 10 build. I've enabled it. Not sure about the ending though. I will probably revisit later on as gopass support for windows itself is an ongoing topic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit puzzled now. The manifest has a windows section which also make the CI test fail. Was that intentional?
If you want to add support for windows later, that's fine with me. I was not aware that
gopass
is not available for windows yet.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No it shouldn't fail. I made another attempt to fix the build.