Commit 35e3fdf5 authored by Robert Rose's avatar Robert Rose
Browse files

nixos/tests/rancher: remove k3s check-config

`k3s check config` fails due to the check script expecting
`IP_NF_FILTER`, `IP_NF_NAT` and `IP_NF_TARGET_MASQUERADE`. However,
these options are considered legacy in Linux 6.18 (the current default
in nixpkgs).

When/if upstream adapts the check script, it can be added to the tests
again.
parent 7e9f1f09
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -218,11 +218,6 @@ in
      # wait for the agent to show up
      server.wait_until_succeeds("kubectl get node agent")

      ${lib.optionalString (rancherDistro == "k3s") ''
        for m in machines:
            m.succeed("k3s check-config")
      ''}

      server.succeed("kubectl cluster-info")
      # Also wait for our service account to show up; it takes a sec
      server.wait_until_succeeds("kubectl get serviceaccount default")
+0 −3
Original line number Diff line number Diff line
@@ -84,9 +84,6 @@ in
      machine.wait_for_unit("${serviceName}")
      machine.succeed("kubectl cluster-info")
      machine.fail("sudo -u noprivs kubectl cluster-info")
      ${lib.optionalString (rancherDistro == "k3s") ''
        machine.succeed("k3s check-config")
      ''}

      # Also wait for our service account to show up; it takes a sec
      machine.wait_until_succeeds("kubectl get serviceaccount default")