mirror of
https://ghproxy.com/https://github.com/truecharts/charts.git
synced 2026-07-17 16:50:22 +08:00
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://hub.docker.com/r/golift/unifi-poller
|
||||
type: application
|
||||
version: 0.0.1
|
||||
version: 0.0.2
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- metrics
|
||||
|
||||
@@ -4,6 +4,20 @@ portals: {}
|
||||
questions:
|
||||
# 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
|
||||
group: "Container Configuration"
|
||||
label: "Image Environment"
|
||||
@@ -12,6 +26,27 @@ questions:
|
||||
attrs:
|
||||
# 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}
|
||||
|
||||
- variable: serviceexpert
|
||||
|
||||
@@ -15,7 +15,7 @@ env: {}
|
||||
# UP_UNIFI_DEFAULT_USER: "unifipoller"
|
||||
# UP_UNIFI_DEFAULT_PASS: "unifipoller"
|
||||
# UP_PROMETHEUS_DISABLE: true
|
||||
# UP_INFLUXDB_DISABLE: true
|
||||
UP_INFLUXDB_DISABLE: true
|
||||
|
||||
service:
|
||||
main:
|
||||
|
||||
Reference in New Issue
Block a user