mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 08:00:06 +01:00
k8s: change customTypes example to attrset
This commit is contained in:
parent
47e69e87e1
commit
a12f905f17
1 changed files with 3 additions and 5 deletions
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue