Grafana Schema¶
Note
This is auto-generated documentation from a JSON schema that is under construction, this will improve over time.
Return to the root config schema
https://raw.githubusercontent.com/elastisys/compliantkubernetes-apps/main/config/schemas/config.yaml#/properties/grafana/properties/user
Configure Grafana.
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | config/schemas/config.yaml* |
TYPE:
object
(Grafana)
PROPERTIES:
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
enabled | boolean |
Optional | cannot be null | Welkin Apps Config |
subdomain | string |
Optional | cannot be null | Welkin Apps Config |
oidc | object |
Optional | cannot be null | Welkin Apps Config |
viewersCanEdit | boolean |
Optional | cannot be null | Welkin Apps Config |
additionalConfigValues | string |
Optional | cannot be null | Welkin Apps Config |
additionalDatasources | object |
Optional | cannot be null | Welkin Apps Config |
dataproxy | object |
Optional | cannot be null | Welkin Apps Config |
plugins | array |
Optional | cannot be null | Welkin Apps Config |
trailingDots | boolean |
Optional | cannot be null | Welkin Apps Config |
sidecar | object |
Optional | cannot be null | Welkin Apps Config |
resources | object |
Optional | cannot be null | Welkin Apps Config |
tolerations | array |
Optional | cannot be null | Welkin Apps Config |
nodeSelector | object |
Optional | cannot be null | Welkin Apps Config |
affinity | object |
Optional | cannot be null | Welkin Apps Config |
enabled¶
enabled
-
is optional
-
Type:
boolean
(Grafana Enabled) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
boolean
(Grafana Enabled)
DEFAULTS:
The default value is:
true
subdomain¶
For Admin Grafana the subdomain of opsDomain
that the Ingress to Admin Grafana will be created with.
For Dev Grafana the subdomain of baseDomain
that the Ingress to Dev Grafana will be created with.
Note
Must be set for both service and workload clusters.
subdomain
-
is optional
-
Type:
string
(Grafana Subdomain) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
string
(Grafana Subdomain)
DEFAULTS:
The default value is:
"grafana"
oidc¶
Configure authentication to Grafana via Dex.
oidc
-
is optional
-
Type:
object
(Grafana OIDC) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
object
(Grafana OIDC)
viewersCanEdit¶
viewersCanEdit
-
is optional
-
Type:
boolean
(Grafana Viewers Can Edit) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
boolean
(Grafana Viewers Can Edit)
DEFAULTS:
The default value is:
true
additionalConfigValues¶
additionalConfigValues
-
is optional
-
Type:
string
(Grafana Additional Config Values) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
string
(Grafana Additional Config Values)
CONSTRAINTS:
unknown format: the value of this string must follow the format: yaml
additionalDatasources¶
additionalDatasources
-
is optional
-
Type:
object
(Grafana Additional Datasources) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
object
(Grafana Additional Datasources)
dataproxy¶
Configure Grafana dataproxy values
dataproxy
-
is optional
-
Type:
object
(Grafana dataproxy values) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
object
(Grafana dataproxy values)
plugins¶
plugins
-
is optional
-
Type:
array
(Grafana Additional Plugins) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
array
(Grafana Additional Plugins)
trailingDots¶
Configure Grafana to use absolute domain names.
Warning
Some operating systems and web browsers may have problems accessing Grafana when with this enabled.
trailingDots
-
is optional
-
Type:
boolean
(Grafana Trailing Dots) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
boolean
(Grafana Trailing Dots)
DEFAULTS:
The default value is:
true
sidecar¶
Configure the sidecar provisioning dashboards from ConfigMaps in Grafana.
sidecar
-
is optional
-
Type:
object
(Grafana Sidecar) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
object
(Grafana Sidecar)
resources¶
Resource requests are used by the kube-scheduler to pick a node to schedule pods on.
Limits are enforced. Resources are commonly 'cpu' and 'memory'.
resources
-
is optional
-
Type:
object
(Kubernetes Resource Requirements) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
object
(Kubernetes Resource Requirements)
EXAMPLES:
requests:
memory: 128Mi
cpu: 100m
limits:
memory: 256Mi
cpu: 250m
tolerations¶
Kubernetes Tolerations
Kubernetes taint and toleration
tolerations
-
is optional
-
Type: an array of merged types (Details)
-
cannot be null
-
defined in: Welkin Apps Config
TYPE:
an array of merged types (Details)
nodeSelector¶
Kubernetes node selector
nodeSelector
-
is optional
-
Type:
object
(Kubernetes Node Selector) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
object
(Kubernetes Node Selector)
EXAMPLES:
kubernetes.io/os: linux
affinity¶
Affinity is a group of affinity scheduling rules.
affinity
-
is optional
-
Type:
object
(Affinity) -
cannot be null
-
defined in: Welkin Apps Config
TYPE:
object
(Affinity)
Return to the root config schema
Generated Sun Nov 17 03:51:36 UTC 2024 from elastisys/compliantkubernetes-apps@main