diff --git a/modules/k8s.nix b/modules/k8s.nix index 0d9d186..03b1bcd 100644 --- a/modules/k8s.nix +++ b/modules/k8s.nix @@ -333,17 +333,15 @@ in { }; customTypes = mkOption { - description = "List of custom resource types to make API for"; - example = [ - { + description = "Custom resource types to make API for"; + example = { helmchartconfig = { attrName = "helmchartconfig"; kind = "HelmChartConfig"; version = "v1"; group = "helm.cattle.io"; }; - } - ]; + }; type = coerceListOfSubmodulesToAttrs {