Merge pull request #230106 from sagikazarmark/kubectl-view-secret
kubectl-view-secret: init at 0.10.1
This commit is contained in:
commit
fd27a82c63
2 changed files with 31 additions and 0 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -31664,6 +31664,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