fix(metallb): correct questions structure

This commit is contained in:
kjeld Schouten-Lebbing
2021-11-10 18:51:22 +01:00
parent cb3cdcbd31
commit 7fd720c890
2 changed files with 40 additions and 35 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ sources:
- https://github.com/metallb/metallb - https://github.com/metallb/metallb
- https://metallb.universe.tf - https://metallb.universe.tf
type: application type: application
version: 0.0.2 version: 0.0.3
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- core - core
+39 -34
View File
@@ -2,49 +2,54 @@
questions: questions:
# Include{global} # Include{global}
- variable: controller - variable: metallb
group: "App Configuration" group: "App Configuration"
label: "" label: ""
schema: schema:
type: dict type: dict
attrs: attrs:
- variable: address-pools - variable: configInline
label: "Address Pools" label: "MetalLB Configuration"
schema: schema:
type: list type: dict
default: [] attrs:
items: - variable: address-pools
- variable: address-pools-entry label: "Address Pools"
group: "Address Pool"
label: ""
schema: schema:
type: dict type: list
attrs: default: []
- variable: name items:
label: "Name" - variable: address-pools-entry
group: "Address Pool"
label: ""
schema: schema:
type: string type: dict
default: "" attrs:
required: true - variable: name
- variable: protocol label: "Name"
label: "Protocol"
schema:
type: string
default: "layer2"
enum:
- value: "layer2"
description: "layer2"
- value: "bgp"
description: "bgp"
- variable: addresses
label: "Addresses"
schema:
type: list
default: []
items:
- variable: address
label: "Adress"
schema: schema:
type: string type: string
default: "" default: ""
required: true required: true
- variable: protocol
label: "Protocol"
schema:
type: string
default: "layer2"
enum:
- value: "layer2"
description: "layer2"
- value: "bgp"
description: "bgp"
- variable: addresses
label: "Addresses"
schema:
type: list
default: []
items:
- variable: address
label: "Adress"
schema:
type: string
default: ""
required: true