diff --git a/crd-chart/templates/Button.crd.yaml b/crd-chart/templates/Button.crd.yaml index ea68a45..4ed0650 100644 --- a/crd-chart/templates/Button.crd.yaml +++ b/crd-chart/templates/Button.crd.yaml @@ -287,6 +287,8 @@ spec: a toast in case of error type: string headers: + description: 'array of headers as strings, format ''key: + value''' items: type: string type: array @@ -370,6 +372,7 @@ spec: - rest type: string required: + - headers - id - resourceRefId - type diff --git a/crd-chart/templates/Column.crd.yaml b/crd-chart/templates/Column.crd.yaml index 1edb33c..68edb4c 100644 --- a/crd-chart/templates/Column.crd.yaml +++ b/crd-chart/templates/Column.crd.yaml @@ -148,26 +148,26 @@ spec: allowedResources: description: the list of resources that are allowed to be children of this widget or referenced by it + enum: + - barcharts + - buttons + - columns + - datagrids + - eventlists + - filters + - flowcharts + - forms + - linecharts + - markdowns + - panels + - paragraphs + - piecharts + - rows + - tables + - tablists + - yamlviewers items: type: string - enum: - - barcharts - - buttons - - columns - - datagrids - - eventlists - - filters - - flowcharts - - forms - - linecharts - - markdowns - - panels - - paragraphs - - piecharts - - rows - - tables - - tablists - - yamlviewers type: array items: description: the items of the column diff --git a/crd-chart/templates/DataGrid.crd.yaml b/crd-chart/templates/DataGrid.crd.yaml index 1f020d5..ff1abc4 100644 --- a/crd-chart/templates/DataGrid.crd.yaml +++ b/crd-chart/templates/DataGrid.crd.yaml @@ -148,23 +148,23 @@ spec: allowedResources: description: the list of resources that are allowed to be children of this widget or referenced by it + enum: + - barcharts + - buttons + - eventlists + - filters + - flowcharts + - forms + - linecharts + - markdowns + - panels + - paragraphs + - piecharts + - tables + - tablists + - yamlviewers items: type: string - enum: - - barcharts - - buttons - - eventlists - - filters - - flowcharts - - forms - - linecharts - - markdowns - - panels - - paragraphs - - piecharts - - tables - - tablists - - yamlviewers type: array asGrid: description: to show children as list or grid diff --git a/crd-chart/templates/Form.crd.yaml b/crd-chart/templates/Form.crd.yaml index 33c14d2..580f9be 100644 --- a/crd-chart/templates/Form.crd.yaml +++ b/crd-chart/templates/Form.crd.yaml @@ -288,6 +288,8 @@ spec: a toast in case of error type: string headers: + description: 'array of headers as strings, format ''key: + value''' items: type: string type: array @@ -371,6 +373,7 @@ spec: - rest type: string required: + - headers - id - resourceRefId - type diff --git a/crd-chart/templates/NavMenu.crd.yaml b/crd-chart/templates/NavMenu.crd.yaml index 942e54b..c436c1b 100644 --- a/crd-chart/templates/NavMenu.crd.yaml +++ b/crd-chart/templates/NavMenu.crd.yaml @@ -148,10 +148,10 @@ spec: allowedResources: description: the list of resources that are allowed to be children of this widget or referenced by it + enum: + - navmenuitems items: type: string - enum: - - navmenuitems type: array items: description: list of navigation entries each pointing to a k8s diff --git a/crd-chart/templates/NavMenuItem.crd.yaml b/crd-chart/templates/NavMenuItem.crd.yaml index 07cdb32..cd87ded 100644 --- a/crd-chart/templates/NavMenuItem.crd.yaml +++ b/crd-chart/templates/NavMenuItem.crd.yaml @@ -148,10 +148,10 @@ spec: allowedResources: description: the list of resources that are allowed to be children of this widget or referenced by it + enum: + - pages items: type: string - enum: - - pages type: array icon: description: 'name of the icon to display alongside the label diff --git a/crd-chart/templates/Page.crd.yaml b/crd-chart/templates/Page.crd.yaml index c523776..6848638 100644 --- a/crd-chart/templates/Page.crd.yaml +++ b/crd-chart/templates/Page.crd.yaml @@ -148,26 +148,26 @@ spec: allowedResources: description: the list of resources that are allowed to be children of this widget or referenced by it + enum: + - barcharts + - buttons + - columns + - datagrids + - eventlists + - filters + - flowcharts + - forms + - linecharts + - markdowns + - panels + - paragraphs + - piecharts + - rows + - tables + - tablists + - yamlviewers items: type: string - enum: - - barcharts - - buttons - - columns - - datagrids - - eventlists - - filters - - flowcharts - - forms - - linecharts - - markdowns - - panels - - paragraphs - - piecharts - - rows - - tables - - tablists - - yamlviewers type: array items: description: list of resources to be rendered within the route diff --git a/crd-chart/templates/Panel.crd.yaml b/crd-chart/templates/Panel.crd.yaml index 54c6b44..57d84cd 100644 --- a/crd-chart/templates/Panel.crd.yaml +++ b/crd-chart/templates/Panel.crd.yaml @@ -287,6 +287,8 @@ spec: a toast in case of error type: string headers: + description: 'array of headers as strings, format ''key: + value''' items: type: string type: array @@ -370,6 +372,7 @@ spec: - rest type: string required: + - headers - id - resourceRefId - type diff --git a/crd-chart/templates/RoutesLoader.crd.yaml b/crd-chart/templates/RoutesLoader.crd.yaml index a0ec185..6f3b526 100644 --- a/crd-chart/templates/RoutesLoader.crd.yaml +++ b/crd-chart/templates/RoutesLoader.crd.yaml @@ -148,10 +148,10 @@ spec: allowedResources: description: the list of resources that are allowed to be children of this widget or referenced by it + enum: + - routes items: type: string - enum: - - routes type: array required: - allowedResources diff --git a/crd-chart/templates/Row.crd.yaml b/crd-chart/templates/Row.crd.yaml index a4540d4..2fec7ee 100644 --- a/crd-chart/templates/Row.crd.yaml +++ b/crd-chart/templates/Row.crd.yaml @@ -149,26 +149,26 @@ spec: allowedResources: description: the list of resources that are allowed to be children of this widget or referenced by it + enum: + - barcharts + - buttons + - columns + - datagrids + - eventlists + - filters + - flowcharts + - forms + - linecharts + - markdowns + - panels + - paragraphs + - piecharts + - rows + - tables + - tablists + - yamlviewers items: type: string - enum: - - barcharts - - buttons - - columns - - datagrids - - eventlists - - filters - - flowcharts - - forms - - linecharts - - markdowns - - panels - - paragraphs - - piecharts - - rows - - tables - - tablists - - yamlviewers type: array items: description: the items of the row diff --git a/crd-chart/templates/TabList.crd.yaml b/crd-chart/templates/TabList.crd.yaml index 199ec17..3e469b9 100644 --- a/crd-chart/templates/TabList.crd.yaml +++ b/crd-chart/templates/TabList.crd.yaml @@ -149,26 +149,26 @@ spec: allowedResources: description: the list of resources that are allowed to be children of this widget or referenced by it + enum: + - barcharts + - buttons + - columns + - datagrids + - eventlists + - filters + - flowcharts + - forms + - linecharts + - markdowns + - panels + - paragraphs + - piecharts + - rows + - tables + - tablists + - yamlviewers items: type: string - enum: - - barcharts - - buttons - - columns - - datagrids - - eventlists - - filters - - flowcharts - - forms - - linecharts - - markdowns - - panels - - paragraphs - - piecharts - - rows - - tables - - tablists - - yamlviewers type: array items: description: the items of the tab list diff --git a/crd-chart/templates/Table.crd.yaml b/crd-chart/templates/Table.crd.yaml index 902562d..b9a05ca 100644 --- a/crd-chart/templates/Table.crd.yaml +++ b/crd-chart/templates/Table.crd.yaml @@ -148,18 +148,18 @@ spec: allowedResources: description: the list of resources that are allowed to be children of this widget or referenced by it + enum: + - barcharts + - buttons + - filters + - flowcharts + - linecharts + - markdowns + - paragraphs + - piecharts + - yamlviewers items: type: string - enum: - - barcharts - - buttons - - filters - - flowcharts - - linecharts - - markdowns - - paragraphs - - piecharts - - yamlviewers type: array columns: description: configuration of the table's columns