coredns: add nixosTests.kubernetes dns tests to passthru.tests

these tests appear to use coredns
This commit is contained in:
Robert Scott 2024-07-08 00:23:54 +01:00
parent a2bbafe808
commit ceeb0dc940

View File

@ -3,6 +3,7 @@
, buildGoModule
, fetchFromGitHub
, installShellFiles
, nixosTests
, externalPlugins ? []
, vendorHash ? "sha256-mp+0/DQTNsgAZTnLqcQq1HVLAfKr5vUGYSZlIvM7KpE="
}:
@ -74,6 +75,11 @@ in buildGoModule rec {
installManPage man/*
'';
passthru.tests = {
kubernetes-single-node = nixosTests.kubernetes.dns-single-node;
kubernetes-multi-node = nixosTests.kubernetes.dns-multi-node;
};
meta = with lib; {
homepage = "https://coredns.io";
description = "DNS server that runs middleware";