feat: add spinner
This commit is contained in:
@@ -32,7 +32,7 @@ in
|
||||
|
||||
field = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "auth_key";
|
||||
default = "CLIENT_SECRET";
|
||||
description = "Field in the OpenBao secret that contains the Tailscale auth key.";
|
||||
};
|
||||
|
||||
@@ -147,10 +147,7 @@ in
|
||||
{
|
||||
assertion =
|
||||
(!tailscaleOpenbaoCfg.enable)
|
||||
|| (
|
||||
tailscaleOpenbaoCfg.approle.roleIdFile != ""
|
||||
&& tailscaleOpenbaoCfg.approle.secretIdFile != ""
|
||||
);
|
||||
|| (tailscaleOpenbaoCfg.approle.roleIdFile != "" && tailscaleOpenbaoCfg.approle.secretIdFile != "");
|
||||
message = "AppRole roleIdFile and secretIdFile must be set when OpenBao-backed Tailscale enrollment is enabled.";
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user