2020-03-21 10:36:00 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
|
2019-11-17 07:33:55 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kubeseal";
|
2020-03-04 06:20:44 +00:00
|
|
|
version = "0.10.0";
|
2019-11-17 07:33:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bitnami-labs";
|
|
|
|
repo = "sealed-secrets";
|
|
|
|
rev = "v${version}";
|
2020-03-04 06:20:44 +00:00
|
|
|
sha256 = "14ahb02p1gqcqbjz6mn3axw436b6bi4ygq5ckm85jzs28s4wrfsv";
|
2019-11-17 07:33:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
modSha256 = "04dmjyz3vi2l0dfpyy42lkp2fv1vlfkvblrxh1dvb37phrkd5lbd";
|
|
|
|
|
2020-03-21 10:36:00 +00:00
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
|
2019-11-17 07:33:55 +00:00
|
|
|
subPackages = [ "cmd/kubeseal" ];
|
|
|
|
|
2020-03-21 10:36:00 +00:00
|
|
|
meta = with stdenv.lib; {
|
2019-11-17 07:33:55 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|