Merge pull request #233097 from fabaff/kubei-kubeclarity

kubeclarity: rename from kubei

authored by

Fabian Affolter and committed by
GitHub
0b8b1b50 0a8fb2a9

+57 -32
+55
pkgs/tools/security/kubeclarity/default.nix
··· 1 + { lib 2 + , btrfs-progs 3 + , buildGoModule 4 + , fetchFromGitHub 5 + , lvm2 6 + , pkg-config 7 + }: 8 + 9 + buildGoModule rec { 10 + pname = "kubeclarity"; 11 + version = "2.18.0"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "openclarity"; 15 + repo = pname; 16 + rev = "refs/tags/v${version}"; 17 + hash = "sha256-qXBD3JurBU7RBemj+gr/tBGpfqKhwk5VPBKaTuM4URg="; 18 + }; 19 + 20 + vendorHash = "sha256-L7g48EH3cuhgSZ87JoMVvv5nGDzjUpOufsikINCdhao="; 21 + 22 + nativeBuildInputs = [ 23 + pkg-config 24 + ]; 25 + 26 + buildInputs = [ 27 + btrfs-progs 28 + lvm2 29 + ]; 30 + 31 + sourceRoot = "${src.name}/cli"; 32 + 33 + ldflags = [ 34 + "-s" 35 + "-w" 36 + ]; 37 + 38 + postInstall = '' 39 + mv $out/bin/cli $out/bin/kubeclarity 40 + ''; 41 + 42 + meta = with lib; { 43 + description = "Kubernetes runtime scanner"; 44 + longDescription = '' 45 + KubeClarity is a vulnerabilities scanning and CIS Docker benchmark tool that 46 + allows users to get an accurate and immediate risk assessment of their 47 + kubernetes clusters. Kubei scans all images that are being used in a 48 + Kubernetes cluster, including images of application pods and system pods. 49 + ''; 50 + homepage = "https://github.com/openclarity/kubeclarity"; 51 + changelog = "https://github.com/openclarity/kubeclarity/releases/tag/v${version}"; 52 + license = with licenses; [ asl20 ]; 53 + maintainers = with maintainers; [ fab ]; 54 + }; 55 + }
-31
pkgs/tools/security/kubei/default.nix
··· 1 - { lib 2 - , buildGoModule 3 - , fetchFromGitHub 4 - }: 5 - 6 - buildGoModule rec { 7 - pname = "kubei"; 8 - version = "1.0.12"; 9 - 10 - src = fetchFromGitHub { 11 - owner = "Portshift"; 12 - repo = pname; 13 - rev = version; 14 - sha256 = "sha256-QUPRw8fQ6ahBLZox6m4+feYIrcgDnCTe72nMF8iAV+Y="; 15 - }; 16 - 17 - vendorSha256 = "sha256-uWDQf0zcTTPBthK60bmGJBP/m+yUu5PvYAbwyd0dcWE="; 18 - 19 - meta = with lib; { 20 - description = "Kubernetes runtime scanner"; 21 - longDescription = '' 22 - Kubei is a vulnerabilities scanning and CIS Docker benchmark tool that 23 - allows users to get an accurate and immediate risk assessment of their 24 - kubernetes clusters. Kubei scans all images that are being used in a 25 - Kubernetes cluster, including images of application pods and system pods. 26 - ''; 27 - homepage = "https://github.com/Portshift/kubei"; 28 - license = with licenses; [ asl20 ]; 29 - maintainers = with maintainers; [ fab ]; 30 - }; 31 - }
+1
pkgs/top-level/aliases.nix
··· 812 812 krename-qt5 = throw "'krename-qt5' has been renamed to/replaced by 'krename'"; # Converted to throw 2022-02-22 813 813 krita-beta = krita; # moved from top-level 2021-12-23 814 814 kube-aws = throw "kube-aws is deprecated and archived by upstream"; # Added 2022-04-05 815 + kubei = kubeclarity; # Added 2023-05-20 815 816 kubeless = throw "kubeless is deprecated and archived by upstream"; # Added 2022-04-05 816 817 kubicorn = throw "kubicorn has been dropped due to the lack of maintenance from upstream since 2019"; # Added 2022-05-30 817 818 kvm = throw "'kvm' has been renamed to/replaced by 'qemu_kvm'"; # Converted to throw 2022-02-22
+1 -1
pkgs/top-level/all-packages.nix
··· 18629 18629 18630 18630 kube-prompt = callPackage ../development/tools/kube-prompt { }; 18631 18631 18632 - kubei = callPackage ../tools/security/kubei { }; 18632 + kubeclarity = callPackage ../tools/security/kubeclarity { }; 18633 18633 18634 18634 kubemq-community = callPackage ../servers/kubemq-community { }; 18635 18635