70 lines
2.7 KiB
YAML
70 lines
2.7 KiB
YAML
|
- variable: promtail
|
||
|
label: Promtail
|
||
|
schema:
|
||
|
additional_attrs: true
|
||
|
type: dict
|
||
|
attrs:
|
||
|
- variable: enabled
|
||
|
label: Enabled
|
||
|
schema:
|
||
|
type: boolean
|
||
|
default: false
|
||
|
show_subquestions_if: true
|
||
|
subquestions:
|
||
|
- variable: loki
|
||
|
label: Loki URL
|
||
|
schema:
|
||
|
type: string
|
||
|
required: true
|
||
|
- variable: logs
|
||
|
label: Log Paths
|
||
|
schema:
|
||
|
additional_attrs: true
|
||
|
type: dict
|
||
|
attrs:
|
||
|
- variable: name
|
||
|
label: Name
|
||
|
schema:
|
||
|
type: string
|
||
|
required: true
|
||
|
- variable: path
|
||
|
label: Path
|
||
|
schema:
|
||
|
type: string
|
||
|
required: true
|
||
|
- variable: args
|
||
|
label: Promtail Command Line Arguments
|
||
|
schema:
|
||
|
type: list
|
||
|
show_if: [["type", "!=", "disabled"]]
|
||
|
default: []
|
||
|
items:
|
||
|
- variable: arg
|
||
|
label: Arg
|
||
|
schema:
|
||
|
type: string
|
||
|
required: true
|
||
|
- variable: envList
|
||
|
label: Promtail Environment Variables
|
||
|
schema:
|
||
|
type: list
|
||
|
show_if: [["type", "!=", "disabled"]]
|
||
|
default: []
|
||
|
items:
|
||
|
- variable: envItem
|
||
|
label: Environment Variable
|
||
|
schema:
|
||
|
additional_attrs: true
|
||
|
type: dict
|
||
|
attrs:
|
||
|
- variable: name
|
||
|
label: Name
|
||
|
schema:
|
||
|
type: string
|
||
|
required: true
|
||
|
- variable: value
|
||
|
label: Value
|
||
|
schema:
|
||
|
type: string
|
||
|
required: true
|