Merge pull request #175778 from SuperSandro2000/gatekeeper
gatekeeper: init at 3.8.1
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, installShellFiles
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gatekeeper";
|
||||
version = "3.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "open-policy-agent";
|
||||
repo = "gatekeeper";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-zEUH88sjgR738BXK2oSSM6jf5oHZt0VJv61BcxclG1Q=";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
subPackages = [ "cmd/gator" ];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd gator \
|
||||
--bash <($out/bin/gator completion bash) \
|
||||
--fish <($out/bin/gator completion fish) \
|
||||
--zsh <($out/bin/gator completion zsh)
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Policy Controller for Kubernetes";
|
||||
homepage = "https://github.com/open-policy-agent/gatekeeper";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
@@ -27073,6 +27073,8 @@ with pkgs;
|
||||
|
||||
hugo = callPackage ../applications/misc/hugo { buildGoModule = buildGo118Module; };
|
||||
|
||||
gatekeeper = callPackage ../applications/networking/cluster/gatekeeper { };
|
||||
|
||||
go-org = callPackage ../applications/misc/go-org { };
|
||||
|
||||
hushboard = python3.pkgs.callPackage ../applications/audio/hushboard { };
|
||||
|
||||
Reference in New Issue
Block a user