infra/homelab/custom.nix
Gabriel Simmer 4dfb6322f7
All checks were successful
Lint / lint (push) Successful in 22s
Fully migrate tclip to kubenix
2023-10-19 14:31:52 +01:00

18 lines
373 B
Nix

{ lib, ... }: {
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;
};
};
}
];
}