2020-03-27 07:33:21 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-11-17 07:33:55 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kubeseal";
|
2020-05-19 10:08:09 +01:00
|
|
|
version = "0.12.3";
|
2019-11-17 07:33:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bitnami-labs";
|
|
|
|
repo = "sealed-secrets";
|
|
|
|
rev = "v${version}";
|
2020-05-19 10:08:09 +01:00
|
|
|
sha256 = "1h8n2219xh0gl42kz3rkv3aj3wfwivvs9skwbbrvmrkwwrpxkgdj";
|
2019-11-17 07:33:55 +00:00
|
|
|
};
|
|
|
|
|
2020-05-01 02:59:00 +01:00
|
|
|
vendorSha256 = null;
|
2019-11-17 07:33:55 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/kubeseal" ];
|
|
|
|
|
2020-05-19 10:20:00 +01:00
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.VERSION=${version}" ];
|
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with 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 ];
|
|
|
|
};
|
2020-05-01 02:59:00 +01:00
|
|
|
}
|