From 68ff0a0408e35398efe437142d9790b82bbd14fd Mon Sep 17 00:00:00 2001 From: Miguel Carneiro Date: Wed, 19 Jul 2023 21:43:28 +0100 Subject: [PATCH 1/2] maintainers: add mig4ng --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 63ed17ec8d70..e1981f5391b8 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -10839,6 +10839,12 @@ fingerprint = "FEF0 AE2D 5449 3482 5F06 40AA 186A 1EDA C5C6 3F83"; }]; }; + mig4ng = { + email = "mig4ng@gmail.com"; + github = "mig4ng"; + githubId = 5817039; + name = "Miguel Carneiro"; + }; mightyiam = { email = "mightyiampresence@gmail.com"; github = "mightyiam"; From 5a3eb10245e6fbbbfc21b20a3a71f7f6279ace31 Mon Sep 17 00:00:00 2001 From: Miguel Carneiro Date: Wed, 19 Jul 2023 22:03:18 +0100 Subject: [PATCH 2/2] kubevpn: init at 1.1.34 --- .../networking/cluster/kubevpn/default.nix | 26 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/applications/networking/cluster/kubevpn/default.nix diff --git a/pkgs/applications/networking/cluster/kubevpn/default.nix b/pkgs/applications/networking/cluster/kubevpn/default.nix new file mode 100644 index 000000000000..0460213ba554 --- /dev/null +++ b/pkgs/applications/networking/cluster/kubevpn/default.nix @@ -0,0 +1,26 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "kubevpn"; + version = "1.1.34"; + + src = fetchFromGitHub { + owner = "KubeNetworks"; + repo = "kubevpn"; + rev = "v${version}"; + sha256 = "sha256-P4lROZ6UxsCtMwGWIDBkXjd8v/wtD7u9LBoUUzP9Tz0="; + }; + + vendorHash = "sha256-LihRVqVMrN45T9NLOQw/EsrEMTSLYYhWzVm+lYXtFRQ="; + + # TODO investigate why some config tests are failing + doCheck = false; + + meta = with lib; { + changelog = "https://github.com/KubeNetworks/kubevpn/releases/tag/${src.rev}"; + description = "Create a VPN and connect to Kubernetes cluster network, access resources, and more"; + homepage = "https://github.com/KubeNetworks/kubevpn"; + license = licenses.mit; + maintainers = with maintainers; [ mig4ng ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1a27f9e0bfbe..3534915d5916 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -32705,6 +32705,8 @@ with pkgs; kubelogin-oidc = callPackage ../applications/networking/cluster/kubelogin-oidc { }; + kubevpn = callPackage ../applications/networking/cluster/kubevpn { }; + k8sgpt = callPackage ../applications/networking/cluster/k8sgpt { }; k9s = callPackage ../applications/networking/cluster/k9s { };