feat(tenancy): tag machines accordingly to their tenancy
@lix for Lix machines. @floral for Floral machines. Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
parent
96f5d45ff3
commit
9ad7e7b139
11
flake.nix
11
flake.nix
|
@ -124,8 +124,12 @@
|
|||
];
|
||||
|
||||
# Tag all machines which have local boot as local bootables.
|
||||
deployment.tags = lib.mkIf (config.bagel.baremetal.builders.enable -> !config.bagel.baremetal.builders.netboot)
|
||||
[ "localboot" ];
|
||||
deployment.tags = lib.mkMerge [
|
||||
[ "floral" ]
|
||||
(lib.mkIf (config.bagel.baremetal.builders.enable -> !config.bagel.baremetal.builders.netboot)
|
||||
[ "localboot" ]
|
||||
)
|
||||
];
|
||||
|
||||
bagel.monitoring.grafana-agent.tenant = "floral";
|
||||
bagel.secrets.tenant = "floral";
|
||||
|
@ -153,8 +157,7 @@
|
|||
|
||||
# Tag all machines which have local boot as local bootables.
|
||||
# Lix has no netbootable machine.
|
||||
deployment.tags = [ "localboot" ];
|
||||
|
||||
deployment.tags = [ "localboot" "lix" ];
|
||||
|
||||
bagel.monitoring.grafana-agent.tenant = "lix";
|
||||
bagel.secrets.tenant = "lix";
|
||||
|
|
Loading…
Reference in a new issue