forked from mirrors/nixpkgs
29 lines
696 B
Nix
29 lines
696 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "kubeseal";
|
|
version = "0.12.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bitnami-labs";
|
|
repo = "sealed-secrets";
|
|
rev = "v${version}";
|
|
sha256 = "0h8v751jf8hws8zcai6vfsk5vmq6f9kwz2dg79l6xa0dfc2rv4zf";
|
|
};
|
|
|
|
vendorSha256 = null;
|
|
|
|
doCheck = false;
|
|
|
|
subPackages = [ "cmd/kubeseal" ];
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.VERSION=${version}" ];
|
|
|
|
meta = with lib; {
|
|
description = "A Kubernetes controller and tool for one-way encrypted Secrets";
|
|
homepage = "https://github.com/bitnami-labs/sealed-secrets";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ groodt ];
|
|
};
|
|
}
|