2020-03-27 07:33:21 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2019-11-17 07:33:55 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kubeseal";
|
2022-08-28 19:29:44 +00:00
|
|
|
version = "0.18.2";
|
2019-11-17 07:33:55 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bitnami-labs";
|
|
|
|
repo = "sealed-secrets";
|
|
|
|
rev = "v${version}";
|
2022-08-28 19:29:44 +00:00
|
|
|
sha256 = "sha256-+5g51doZBJqNwsIvAZ7rsq6QhAMaWFjygzr+eAE+R8w=";
|
2019-11-17 07:33:55 +00:00
|
|
|
};
|
|
|
|
|
2022-08-28 19:29:44 +00:00
|
|
|
vendorSha256 = "sha256-YC4ZSeObkilNvAu3StMDrnZQexVUFwVtX7ee/EPLTsE=";
|
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
|
|
|
}
|