kubectl-view-secret: init at 0.10.1
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
parent
3e313808bd
commit
1f96253381
|
@ -0,0 +1,29 @@
|
|||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "kubectl-view-secret";
|
||||
version = "0.10.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "elsesiy";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-+0uHBzT8cocuDttkvNHnmy/WQ+mfVIc0J0fkhBf4PLI=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-A3bB4L4O7j6lnP3c4mF4zVY/fDac6OBM5uKJuCnZR9g=";
|
||||
|
||||
subPackages = [ "./cmd/" ];
|
||||
|
||||
postInstall = ''
|
||||
mv $out/bin/cmd $out/bin/kubectl-view-secret
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Kubernetes CLI plugin to decode Kubernetes secrets";
|
||||
homepage = "https://github.com/elsesiy/kubectl-view-secret";
|
||||
changelog = "https://github.com/elsesiy/kubectl-view-secret/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.sagikazarmark ];
|
||||
};
|
||||
}
|
|
@ -31642,6 +31642,8 @@ with pkgs;
|
|||
kubectl = callPackage ../applications/networking/cluster/kubernetes/kubectl.nix { };
|
||||
kubectl-convert = kubectl.convert;
|
||||
|
||||
kubectl-view-secret = callPackage ../applications/networking/cluster/kubectl-view-secret { };
|
||||
|
||||
kubernetes-metrics-server = callPackage ../applications/networking/cluster/kubernetes-metrics-server { };
|
||||
|
||||
kubemqctl = callPackage ../applications/networking/cluster/kubemqctl { };
|
||||
|
|
Loading…
Reference in a new issue