Merge pull request #230106 from sagikazarmark/kubectl-view-secret

kubectl-view-secret: init at 0.10.1
This commit is contained in:
Sandro 2023-05-07 20:18:16 +02:00 committed by GitHub
commit fd27a82c63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -31664,6 +31664,8 @@ with pkgs;
kubectl = callPackage ../applications/networking/cluster/kubernetes/kubectl.nix { }; kubectl = callPackage ../applications/networking/cluster/kubernetes/kubectl.nix { };
kubectl-convert = kubectl.convert; kubectl-convert = kubectl.convert;
kubectl-view-secret = callPackage ../applications/networking/cluster/kubectl-view-secret { };
kubernetes-metrics-server = callPackage ../applications/networking/cluster/kubernetes-metrics-server { }; kubernetes-metrics-server = callPackage ../applications/networking/cluster/kubernetes-metrics-server { };
kubemqctl = callPackage ../applications/networking/cluster/kubemqctl { }; kubemqctl = callPackage ../applications/networking/cluster/kubemqctl { };