infra/homelab/custom.nix
Gabriel Simmer 9439acf4d1
All checks were successful
Lint / lint (push) Successful in 18s
Build Pi NixOS Image / sync (push) Successful in 26m51s
format with alejandra style
2024-02-05 13:13:44 +00:00

23 lines
470 B
Nix

{lib, ...}: {
kubernetes.resourceOrder = [
"CustomResourceDefinition"
"Namespace"
"ConfigMap"
];
kubernetes.customTypes = [
{
name = "servicemonitors";
attrName = "servicemonitor";
group = "monitoring.coreos.com";
kind = "ServiceMonitor";
version = "v1";
module = {
options.endpoints = lib.mkOption {
description = "Endpoints";
type = lib.types.list;
};
};
}
];
}