-
Notifications
You must be signed in to change notification settings - Fork 497
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d92e35
commit 5c8c609
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
apiVersion: krew.googlecontainertools.github.com/v1alpha2 | ||
kind: Plugin | ||
metadata: | ||
name: lock | ||
spec: | ||
version: v0.0.4 | ||
homepage: https://github.com/chaosinthecrd/kube-lock | ||
shortDescription: A pane of glass between you and your Kubernetes clusters | ||
description: | | ||
Sits as an intermediary between you and kubectl, allowing you to lock and unlock contexts. | ||
Prevents misfires to production / high-value Kubernetes clusters that you might have strong IAM privileges on. | ||
Supports custom 'Profiles', allowing you to restrict certain verbs from being passed to high-value clusters. | ||
caveats: must alias `kubectl` to kubectl-lock kubectl in `.bashrc`/`.zshrc` (e.g., alias kubectl='kubectl-lock kubectl') | ||
platforms: | ||
- selector: | ||
matchLabels: | ||
os: darwin | ||
arch: amd64 | ||
uri: https://github.com/chaosinthecrd/kube-lock/releases/download/v0.0.4/kube-lock_v0.0.4_darwin_amd64.tar.gz | ||
sha256: d9e87d41876ea0bbbb33deac37589877c81f17e5dea820c605e6d636a6267e9e | ||
bin: kubectl-lock | ||
- selector: | ||
matchLabels: | ||
os: darwin | ||
arch: arm64 | ||
uri: https://github.com/chaosinthecrd/kube-lock/releases/download/v0.0.4/kube-lock_v0.0.4_darwin_arm64.tar.gz | ||
sha256: c6498479a52cbfcfb303ea06b9c12fd0e4d05aac2035f505c0db4e8fd54a9e23 | ||
bin: kubectl-lock | ||
- selector: | ||
matchLabels: | ||
os: linux | ||
arch: amd64 | ||
uri: https://github.com/chaosinthecrd/kube-lock/releases/download/v0.0.4/kube-lock_v0.0.4_linux_amd64.tar.gz | ||
sha256: b8b7c140eff6c983d2d22127ea0617a333bdd88728782647b787e793e95bf346 | ||
bin: kubectl-lock | ||
- selector: | ||
matchLabels: | ||
os: windows | ||
arch: amd64 | ||
uri: https://github.com/chaosinthecrd/kube-lock/releases/download/v0.0.4/kube-lock_v0.0.4_windows_amd64.tar.gz | ||
sha256: cac8d24f8fe430b59327b98ba0181e2dc0f3a9b6bb8433a29144314501220e20 | ||
bin: kubectl-lock.exe |