fix(netbox): fix subquestions (#4368)

This commit is contained in:
Stavros Kois
2022-11-10 20:40:47 +01:00
committed by GitHub
parent ce14298469
commit 5c5345c0bd
2 changed files with 26 additions and 25 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ name: netbox
sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/netbox
- https://github.com/netbox-community/netbox-docker
version: 1.0.0
version: 1.0.1
annotations:
truecharts.org/catagories: |
- network
+25 -24
View File
@@ -168,32 +168,33 @@ questions:
type: boolean
default: false
show_subquestions_if: false
- variable: cors_origin_whitelist
label: CORS Origin Whitelist
description: Example 127.0.0.1
schema:
type: list
default: []
items:
- variable: cors_origin_whitelist_entry
label: CORS Origin Whitelist Entry
subquestions:
- variable: cors_origin_whitelist
label: CORS Origin Whitelist
description: Example 127.0.0.1
schema:
type: string
required: true
default: ""
- variable: cors_origin_regex_whitelist
label: CORS Origin Regex Whitelist
description: Example r'^(https?://)?(\w+\.)?example\.com$'
schema:
type: list
default: []
items:
- variable: cors_origin_whitelist_entry
label: CORS Origin Regex Whitelist Entry
type: list
default: []
items:
- variable: cors_origin_whitelist_entry
label: CORS Origin Whitelist Entry
schema:
type: string
required: true
default: ""
- variable: cors_origin_regex_whitelist
label: CORS Origin Regex Whitelist
description: Example r'^(https?://)?(\w+\.)?example\.com$'
schema:
type: string
required: true
default: ""
type: list
default: []
items:
- variable: cors_origin_whitelist_entry
label: CORS Origin Regex Whitelist Entry
schema:
type: string
required: true
default: ""
- variable: csrf_trusted_origin
label: CSRF Trusted Origin
description: Cross-Site-Request-Forgery-Attack settings. If Netbox is sitting behind a reverse proxy, you might need to set this