Skip to content

Commit f2891fc

Browse files
Updated Grafana Chart Values
1 parent fb7fa46 commit f2891fc

File tree

3 files changed

+80
-79
lines changed

3 files changed

+80
-79
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ No modules.
8080
| <a name="input_grafana_persistence_existing_claim"></a> [grafana\_persistence\_existing\_claim](#input\_grafana\_persistence\_existing\_claim) | Use an existing PVC | `string` | `""` | no |
8181
| <a name="input_grafana_persistence_size"></a> [grafana\_persistence\_size](#input\_grafana\_persistence\_size) | Size of the PV | `string` | `"10Gi"` | no |
8282
| <a name="input_grafana_persistence_storage_class_name"></a> [grafana\_persistence\_storage\_class\_name](#input\_grafana\_persistence\_storage\_class\_name) | Storage Class name for the PV | `string` | `"default"` | no |
83-
| <a name="input_grafana_plugins"></a> [grafana\_plugins](#input\_grafana\_plugins) | List of plugins to install | `list` | `[]` | no |
83+
| <a name="input_grafana_plugins"></a> [grafana\_plugins](#input\_grafana\_plugins) | List of plugins to install | `list(any)` | `[]` | no |
8484
| <a name="input_grafana_pod_annotations"></a> [grafana\_pod\_annotations](#input\_grafana\_pod\_annotations) | Pod annotations | `map(any)` | `{}` | no |
8585
| <a name="input_grafana_priority_class_name"></a> [grafana\_priority\_class\_name](#input\_grafana\_priority\_class\_name) | Priority Class name for Grafana | `string` | `""` | no |
8686
| <a name="input_grafana_psp_enable"></a> [grafana\_psp\_enable](#input\_grafana\_psp\_enable) | Enable PSP | `bool` | `true` | no |

templates/values.yaml

Lines changed: 78 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,84 +1319,84 @@ grafana:
13191319
# cpu: 50m
13201320
# memory: 50Mi
13211321

1322-
## ForceDeployDatasources Create datasource configmap even if grafana deployment has been disabled
1323-
##
1324-
forceDeployDatasources: false
1325-
1326-
## ForceDeployDashboard Create dashboard configmap even if grafana deployment has been disabled
1327-
##
1328-
forceDeployDashboards: false
1329-
1330-
## Deploy default dashboards
1331-
##
1332-
defaultDashboardsEnabled: true
1333-
1334-
## Timezone for the default dashboards
1335-
## Other options are: browser or a specific timezone, i.e. Europe/Luxembourg
1336-
##
1337-
defaultDashboardsTimezone: utc
1338-
1339-
sidecar:
1340-
dashboards:
1341-
enabled: true
1342-
label: grafana_dashboard
1343-
labelValue: "1"
1344-
folder: /var/lib/grafana/dashboards
1345-
1346-
## Annotations for Grafana dashboard configmaps
1347-
##
1348-
annotations: {}
1349-
multicluster:
1350-
global:
1351-
enabled: false
1352-
etcd:
1353-
enabled: false
1354-
provider:
1355-
allowUiUpdates: false
1356-
datasources:
1357-
enabled: true
1358-
defaultDatasourceEnabled: true
1359-
1360-
uid: prometheus
1361-
1362-
## URL of prometheus datasource
1363-
##
1364-
# url: http://prometheus-stack-prometheus:9090/
1365-
1366-
# If not defined, will use prometheus.prometheusSpec.scrapeInterval or its default
1367-
# defaultDatasourceScrapeInterval: 15s
1368-
1369-
## Annotations for Grafana datasource configmaps
1370-
##
1371-
annotations: {}
1372-
1373-
## Create datasource for each Pod of Prometheus StatefulSet;
1374-
## this uses headless service `prometheus-operated` which is
1375-
## created by Prometheus Operator
1376-
## ref: https://github.com/prometheus-operator/prometheus-operator/blob/0fee93e12dc7c2ea1218f19ae25ec6b893460590/pkg/prometheus/statefulset.go#L255-L286
1377-
createPrometheusReplicasDatasources: false
1378-
label: grafana_datasource
1379-
labelValue: "1"
1380-
1381-
deleteDatasources: []
1382-
# - name: example-datasource
1383-
# orgId: 1
1384-
1385-
## Configure additional grafana datasources (passed through tpl)
1386-
## ref: http://docs.grafana.org/administration/provisioning/#datasources
1387-
additionalDataSources: []
1388-
# - name: prometheus-sample
1389-
# access: proxy
1390-
# basicAuth: true
1391-
# basicAuthPassword: pass
1392-
# basicAuthUser: daco
1393-
# editable: false
1394-
# jsonData:
1395-
# tlsSkipVerify: true
1396-
# orgId: 1
1397-
# type: prometheus
1398-
# url: https://{{ printf "%s-prometheus.svc" .Release.Name }}:9090
1399-
# version: 1
1322+
# ## ForceDeployDatasources Create datasource configmap even if grafana deployment has been disabled
1323+
# ##
1324+
# forceDeployDatasources: false
1325+
1326+
# ## ForceDeployDashboard Create dashboard configmap even if grafana deployment has been disabled
1327+
# ##
1328+
# forceDeployDashboards: false
1329+
1330+
# ## Deploy default dashboards
1331+
# ##
1332+
# defaultDashboardsEnabled: true
1333+
1334+
# ## Timezone for the default dashboards
1335+
# ## Other options are: browser or a specific timezone, i.e. Europe/Luxembourg
1336+
# ##
1337+
# defaultDashboardsTimezone: utc
1338+
1339+
# sidecar:
1340+
# dashboards:
1341+
# enabled: true
1342+
# label: grafana_dashboard
1343+
# labelValue: "1"
1344+
# folder: /var/lib/grafana/dashboards
1345+
1346+
# ## Annotations for Grafana dashboard configmaps
1347+
# ##
1348+
# annotations: {}
1349+
# multicluster:
1350+
# global:
1351+
# enabled: false
1352+
# etcd:
1353+
# enabled: false
1354+
# provider:
1355+
# allowUiUpdates: false
1356+
# datasources:
1357+
# enabled: true
1358+
# defaultDatasourceEnabled: true
1359+
1360+
# uid: prometheus
1361+
1362+
# ## URL of prometheus datasource
1363+
# ##
1364+
# # url: http://prometheus-stack-prometheus:9090/
1365+
1366+
# # If not defined, will use prometheus.prometheusSpec.scrapeInterval or its default
1367+
# # defaultDatasourceScrapeInterval: 15s
1368+
1369+
# ## Annotations for Grafana datasource configmaps
1370+
# ##
1371+
# annotations: {}
1372+
1373+
# ## Create datasource for each Pod of Prometheus StatefulSet;
1374+
# ## this uses headless service `prometheus-operated` which is
1375+
# ## created by Prometheus Operator
1376+
# ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/0fee93e12dc7c2ea1218f19ae25ec6b893460590/pkg/prometheus/statefulset.go#L255-L286
1377+
# createPrometheusReplicasDatasources: false
1378+
# label: grafana_datasource
1379+
# labelValue: "1"
1380+
1381+
# deleteDatasources: []
1382+
# # - name: example-datasource
1383+
# # orgId: 1
1384+
1385+
# ## Configure additional grafana datasources (passed through tpl)
1386+
# ## ref: http://docs.grafana.org/administration/provisioning/#datasources
1387+
# additionalDataSources: []
1388+
# # - name: prometheus-sample
1389+
# # access: proxy
1390+
# # basicAuth: true
1391+
# # basicAuthPassword: pass
1392+
# # basicAuthUser: daco
1393+
# # editable: false
1394+
# # jsonData:
1395+
# # tlsSkipVerify: true
1396+
# # orgId: 1
1397+
# # type: prometheus
1398+
# # url: https://{{ printf "%s-prometheus.svc" .Release.Name }}:9090
1399+
# # version: 1
14001400

14011401
##############################################
14021402
############# GRAFANA CONFIG #################

variables.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ variable "grafana_command" {
380380

381381
variable "grafana_plugins" {
382382
description = "List of plugins to install"
383+
type = list(any)
383384
default = []
384385
}
385386

0 commit comments

Comments
 (0)