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
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
2 changed files with 40 additions and 35 deletions

View File

@ -21,7 +21,7 @@ sources:
- https://github.com/metallb/metallb
- https://metallb.universe.tf
type: application
version: 0.0.2
version: 0.0.3
annotations:
truecharts.org/catagories: |
- core

View File

@ -2,49 +2,54 @@
questions:
# Include{global}
- variable: controller
- variable: metallb
group: "App Configuration"
label: ""
schema:
type: dict
attrs:
- variable: address-pools
label: "Address Pools"
- variable: configInline
label: "MetalLB Configuration"
schema:
type: list
default: []
items:
- variable: address-pools-entry
group: "Address Pool"
label: ""
type: dict
attrs:
- variable: address-pools
label: "Address Pools"
schema:
type: dict
attrs:
- variable: name
label: "Name"
type: list
default: []
items:
- variable: address-pools-entry
group: "Address Pool"
label: ""
schema:
type: string
default: ""
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"
type: dict
attrs:
- variable: name
label: "Name"
schema:
type: string
default: ""
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