2020-03-27 07:33:21 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-11-17 07:33:55 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kubeseal";
|
2023-05-18 06:16:06 +00:00
|
|
|
version = "0.21.0";
|
2019-11-17 07:33:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bitnami-labs";
|
|
|
|
repo = "sealed-secrets";
|
|
|
|
rev = "v${version}";
|
2023-05-18 06:16:06 +00:00
|
|
|
sha256 = "sha256-FLNF3addRA6xLN8DM6dyx2joHSwO+8rdA53yzDXk9fU=";
|
2019-11-17 07:33:55 +00:00
|
|
|
};
|
|
|
|
|
2023-05-18 06:16:06 +00:00
|
|
|
vendorHash = "sha256-AZRpzY/r0tKGZzC99qFGQtUkqwYoS6SRD6nVHuBIy4A=";
|
2019-11-17 07:33:55 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/kubeseal" ];
|
|
|
|
|
2021-08-26 06:45:51 +00:00
|
|
|
ldflags = [ "-s" "-w" "-X main.VERSION=${version}" ];
|
2020-05-19 09:20:00 +00:00
|
|
|
|
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-07-31 02:45:00 +00:00
|
|
|
}
|