From a12f905f177735c7fdb21949eb944d8d95473670 Mon Sep 17 00:00:00 2001 From: Bryton Hall Date: Wed, 4 Jan 2023 13:21:20 -0500 Subject: [PATCH] k8s: change customTypes example to attrset --- modules/k8s.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 {