k8s: change customTypes example to attrset

This commit is contained in:
Bryton Hall 2023-01-04 13:21:20 -05:00
parent 47e69e87e1
commit a12f905f17

View file

@ -333,17 +333,15 @@ in {
}; };
customTypes = mkOption { customTypes = mkOption {
description = "List of custom resource types to make API for"; description = "Custom resource types to make API for";
example = [ example = {
{
helmchartconfig = { helmchartconfig = {
attrName = "helmchartconfig"; attrName = "helmchartconfig";
kind = "HelmChartConfig"; kind = "HelmChartConfig";
version = "v1"; version = "v1";
group = "helm.cattle.io"; group = "helm.cattle.io";
}; };
} };
];
type = type =
coerceListOfSubmodulesToAttrs coerceListOfSubmodulesToAttrs
{ {