Merge pull request #92691 from jlesquembre/kustomize-3.8.0

kustomize: 3.3.1 -> 3.8.0
This commit is contained in:
Mario Rodas 2020-07-26 16:36:40 -05:00 committed by GitHub
commit 9fc4678a4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,29 +1,30 @@
{ lib, buildGoModule, fetchFromGitHub, tree }:
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kustomize";
version = "3.3.1";
# rev is the 3.3.1 commit, mainly for kustomize version command output
rev = "f2ac5a2d0df13c047fb20cbc12ef1a3b41ce2dad";
version = "3.8.0";
# rev is the 3.8.0 commit, mainly for kustomize version command output
rev = "6a50372dd5686df22750b0c729adaf369fbf193c";
buildFlagsArray = let t = "sigs.k8s.io/kustomize/v3/provenance"; in ''
-ldflags=
-s -X ${t}.version=${version}
-X ${t}.gitCommit=${rev}
-X ${t}.buildDate=unknown
'';
buildFlagsArray = let t = "sigs.k8s.io/kustomize/api/provenance"; in
''
-ldflags=
-s -X ${t}.version=${version}
-X ${t}.gitCommit=${rev}
'';
src = fetchFromGitHub {
owner = "kubernetes-sigs";
repo = pname;
rev = "v${version}";
sha256 = "0yxxz0b56r18w178y32s619zy8ci6l93c6vlzx11hhxhbw43f6v6";
rev = "kustomize/v${version}";
sha256 = "1v86gqn16xh28gi2fa6jgbbk0clrcng3sbr1az42iy4mm4nmsriy";
};
# avoid finding test and development commands
sourceRoot = "source/kustomize";
vendorSha256 = "06mf5zvxn10g5rqjpqv3afvhj9xmijbj8ag8pqcg1996s4rp4p7a";
deleteVendor = true;
vendorSha256 = "03z40gi9nrj120cd57pa3fmi8grldyxa65a1lkvlc2r3z9g29vdw";
meta = with lib; {
description = "Customization of kubernetes YAML configurations";
@ -36,4 +37,4 @@ buildGoModule rec {
license = licenses.asl20;
maintainers = with maintainers; [ carlosdagos vdemeester periklis zaninime ];
};
}
}