TrueChartsClone/templates/questions/traefik/customResponseHeadersMiddle...

39 lines
1.5 KiB
YAML

- variable: customResponseHeaders
label: Custom Response Headers
schema:
type: list
default: []
items:
- variable: customResponseHeadersEntry
label: ""
schema:
additional_attrs: true
type: dict
attrs:
- variable: name
label: Name
schema:
type: string
required: true
- variable: headers
label: Headers to Add
schema:
type: list
default: []
items:
- variable: name
label: Header Name
description: Name of custom header to be added to responses, eg. X-Custom-Header
pattern: ^[a-zA-Z0-9_\-]*$
schema:
type: string
required: true
default: ""
- variable: value
label: Header Value
description: The value of the header. If the value is empty, the header will be removed.
schema:
type: string
required: true
default: ""