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 {
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
{