feat(unifi-poller): Add questions for default config options
This commit is contained in:
@@ -22,7 +22,7 @@ sources:
|
|||||||
- https://github.com/unifi-poller/unifi-poller
|
- https://github.com/unifi-poller/unifi-poller
|
||||||
- https://hub.docker.com/r/golift/unifi-poller
|
- https://hub.docker.com/r/golift/unifi-poller
|
||||||
type: application
|
type: application
|
||||||
version: 0.0.1
|
version: 0.0.2
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- metrics
|
- metrics
|
||||||
|
|||||||
@@ -4,6 +4,20 @@ portals: {}
|
|||||||
questions:
|
questions:
|
||||||
# Include{global}
|
# Include{global}
|
||||||
|
|
||||||
|
- variable: secret
|
||||||
|
group: "Container Configuration"
|
||||||
|
label: "Secret Image Environment"
|
||||||
|
schema:
|
||||||
|
type: dict
|
||||||
|
attrs:
|
||||||
|
- variable: UP_UNIFI_DEFAULT_PASS
|
||||||
|
label: "Unifi Password"
|
||||||
|
description: "Password for the Unifi user specified below"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
|
required: true
|
||||||
|
|
||||||
- variable: env
|
- variable: env
|
||||||
group: "Container Configuration"
|
group: "Container Configuration"
|
||||||
label: "Image Environment"
|
label: "Image Environment"
|
||||||
@@ -12,6 +26,27 @@ questions:
|
|||||||
attrs:
|
attrs:
|
||||||
# Include{fixedEnv}
|
# Include{fixedEnv}
|
||||||
|
|
||||||
|
- variable: UP_UNIFI_DEFAULT_URL
|
||||||
|
label: "Unifi URL"
|
||||||
|
description: "Unifi URL including Port and http(s) prefix"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: "https://127.0.0.1:8443"
|
||||||
|
required: true
|
||||||
|
- variable: UP_UNIFI_DEFAULT_USER
|
||||||
|
label: "Unifi User"
|
||||||
|
description: "User on Unifi with access to the data"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
|
required: true
|
||||||
|
- variable: UP_PROMETHEUS_DISABLE
|
||||||
|
label: "Disable Prometheus Metrics"
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
hidden: true
|
||||||
|
|
||||||
# Include{containerConfig}
|
# Include{containerConfig}
|
||||||
|
|
||||||
- variable: serviceexpert
|
- variable: serviceexpert
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ env: {}
|
|||||||
# UP_UNIFI_DEFAULT_USER: "unifipoller"
|
# UP_UNIFI_DEFAULT_USER: "unifipoller"
|
||||||
# UP_UNIFI_DEFAULT_PASS: "unifipoller"
|
# UP_UNIFI_DEFAULT_PASS: "unifipoller"
|
||||||
# UP_PROMETHEUS_DISABLE: true
|
# UP_PROMETHEUS_DISABLE: true
|
||||||
# UP_INFLUXDB_DISABLE: true
|
UP_INFLUXDB_DISABLE: true
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
|
|||||||
Reference in New Issue
Block a user