feat: add test code to assert if k3s is running
This commit is contained in:
parent
80cfd36fdf
commit
f2bb2757b8
1 changed files with 15 additions and 0 deletions
|
|
@ -77,6 +77,21 @@ in
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
assertions =
|
||||||
|
let
|
||||||
|
inherit (lib) attrValues any;
|
||||||
|
in
|
||||||
|
[
|
||||||
|
{
|
||||||
|
assertion =
|
||||||
|
config.services.k3s.enable == true;
|
||||||
|
# config.clan.inventory.instances
|
||||||
|
# |> attrValues
|
||||||
|
# |> any ({ module, ... }: module.name == "k3s");
|
||||||
|
message = "This module requires k3s in order to run";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
clan.core.vars.generators.zitadel = {
|
clan.core.vars.generators.zitadel = {
|
||||||
share = false;
|
share = false;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue