Skip to content

Commit 5592604

Browse files
Updated Grafana Chart Values
1 parent 679e6ce commit 5592604

File tree

5 files changed

+1307
-202
lines changed

5 files changed

+1307
-202
lines changed

README.md

Lines changed: 79 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,34 +28,103 @@ No modules.
2828

2929
| Name | Description | Type | Default | Required |
3030
|------|-------------|------|---------|:--------:|
31+
| <a name="input_GRAFANA_OAUTH_CLIENT_ID"></a> [GRAFANA\_OAUTH\_CLIENT\_ID](#input\_GRAFANA\_OAUTH\_CLIENT\_ID) | GRAFANA\_OAUTH\_CLIENT\_ID | `string` | `""` | no |
32+
| <a name="input_GRAFANA_OAUTH_CLIENT_SECRET"></a> [GRAFANA\_OAUTH\_CLIENT\_SECRET](#input\_GRAFANA\_OAUTH\_CLIENT\_SECRET) | GRAFANA\_OAUTH\_CLIENT\_SECRET | `string` | `""` | no |
3133
| <a name="input_chart_name"></a> [chart\_name](#input\_chart\_name) | Helm chart name to provision | `string` | `"kube-prometheus-stack"` | no |
3234
| <a name="input_chart_namespace"></a> [chart\_namespace](#input\_chart\_namespace) | Namespace to install the chart into | `string` | `"monitoring"` | no |
3335
| <a name="input_chart_repository"></a> [chart\_repository](#input\_chart\_repository) | Helm repository for the chart | `string` | `"https://prometheus-community.github.io/helm-charts"` | no |
3436
| <a name="input_chart_timeout"></a> [chart\_timeout](#input\_chart\_timeout) | Timeout to wait for the Chart to be deployed. | `number` | `300` | no |
3537
| <a name="input_chart_version"></a> [chart\_version](#input\_chart\_version) | Version of Chart to install. Set to empty to install the latest version | `string` | `"36.2.1"` | no |
36-
| <a name="input_grafana_admin_password"></a> [grafana\_admin\_password](#input\_grafana\_admin\_password) | Grafana Admin Password | `string` | n/a | yes |
38+
| <a name="input_cluster_name"></a> [cluster\_name](#input\_cluster\_name) | Cluster Name where Grafana is deployed | `string` | `""` | no |
39+
| <a name="input_cluster_oidc_issuer_arn"></a> [cluster\_oidc\_issuer\_arn](#input\_cluster\_oidc\_issuer\_arn) | Cluster OIDC URL | `string` | `""` | no |
40+
| <a name="input_cluster_oidc_issuer_url"></a> [cluster\_oidc\_issuer\_url](#input\_cluster\_oidc\_issuer\_url) | Cluster OIDC URL | `string` | `""` | no |
41+
| <a name="input_grafana_admin_password_key"></a> [grafana\_admin\_password\_key](#input\_grafana\_admin\_password\_key) | Key in the secret containing the admin password | `string` | `"admin-password"` | no |
42+
| <a name="input_grafana_affinity"></a> [grafana\_affinity](#input\_grafana\_affinity) | Pod affinity | `map(any)` | `{}` | no |
43+
| <a name="input_grafana_annotations"></a> [grafana\_annotations](#input\_grafana\_annotations) | Deployment annotations | `map(any)` | `{}` | no |
44+
| <a name="input_grafana_command"></a> [grafana\_command](#input\_grafana\_command) | Define command to be executed at startup by grafana container | `list(any)` | `[]` | no |
45+
| <a name="input_grafana_dashboard_providers"></a> [grafana\_dashboard\_providers](#input\_grafana\_dashboard\_providers) | YAML string to configure grafana dashboard providersref: http://docs.grafana.org/administration/provisioning/#dashboards `path` must be /var/lib/grafana/dashboards/<provider\_name> | `string` | `""` | no |
46+
| <a name="input_grafana_dashboards"></a> [grafana\_dashboards](#input\_grafana\_dashboards) | YAML string to configure grafana dashboard to import | `string` | `""` | no |
47+
| <a name="input_grafana_dashboards_config_maps"></a> [grafana\_dashboards\_config\_maps](#input\_grafana\_dashboards\_config\_maps) | Reference to external ConfigMap per provider. Use provider name as key and ConfiMap name as value. YAML string | `string` | `""` | no |
48+
| <a name="input_grafana_datasources"></a> [grafana\_datasources](#input\_grafana\_datasources) | YAML string to configure grafana datasources http://docs.grafana.org/administration/provisioning/#datasources | `string` | `""` | no |
49+
| <a name="input_grafana_db_config"></a> [grafana\_db\_config](#input\_grafana\_db\_config) | database config for grafana | `string` | `""` | no |
50+
| <a name="input_grafana_enable_service_links"></a> [grafana\_enable\_service\_links](#input\_grafana\_enable\_service\_links) | Inject Kubernetes services as environment variables. | `bool` | `true` | no |
51+
| <a name="input_grafana_env"></a> [grafana\_env](#input\_grafana\_env) | Extra environment variables that will be pass onto deployment pods | `map(any)` | `{}` | no |
52+
| <a name="input_grafana_env_from_secret"></a> [grafana\_env\_from\_secret](#input\_grafana\_env\_from\_secret) | The name of a secret in the same kubernetes namespace which contain values to be added to the environment | `string` | `""` | no |
53+
| <a name="input_grafana_extra_configmap_mounts"></a> [grafana\_extra\_configmap\_mounts](#input\_grafana\_extra\_configmap\_mounts) | Extra ConfigMap to mount into the Container | `list(any)` | `[]` | no |
54+
| <a name="input_grafana_extra_containers"></a> [grafana\_extra\_containers](#input\_grafana\_extra\_containers) | YAML string for extra containers | `string` | `""` | no |
55+
| <a name="input_grafana_extra_empty_dir_mounts"></a> [grafana\_extra\_empty\_dir\_mounts](#input\_grafana\_extra\_empty\_dir\_mounts) | Extra Empty DIRs to mount into the Container | `list(any)` | `[]` | no |
56+
| <a name="input_grafana_extra_init_containers"></a> [grafana\_extra\_init\_containers](#input\_grafana\_extra\_init\_containers) | Extra init containers | `list(any)` | `[]` | no |
57+
| <a name="input_grafana_extra_secret_mounts"></a> [grafana\_extra\_secret\_mounts](#input\_grafana\_extra\_secret\_mounts) | Additional grafana server secret mounts | `list(any)` | `[]` | no |
58+
| <a name="input_grafana_extra_volume_mounts"></a> [grafana\_extra\_volume\_mounts](#input\_grafana\_extra\_volume\_mounts) | Additional grafana server volume mounts | `list(any)` | `[]` | no |
3759
| <a name="input_grafana_host_url"></a> [grafana\_host\_url](#input\_grafana\_host\_url) | Grafana Host URL | `string` | `""` | no |
60+
| <a name="input_grafana_image_pull_policy"></a> [grafana\_image\_pull\_policy](#input\_grafana\_image\_pull\_policy) | Image Pull Policy for Grafana | `string` | `"IfNotPresent"` | no |
3861
| <a name="input_grafana_image_repository"></a> [grafana\_image\_repository](#input\_grafana\_image\_repository) | Grafana Image repository on Dockerhub | `string` | `"grafana/grafana"` | no |
3962
| <a name="input_grafana_image_tag"></a> [grafana\_image\_tag](#input\_grafana\_image\_tag) | Grafana Image tag | `string` | `"9.0.2"` | no |
40-
| <a name="input_grafana_okta_api_url"></a> [grafana\_okta\_api\_url](#input\_grafana\_okta\_api\_url) | OKTA API URL for Grafana | `string` | `""` | no |
41-
| <a name="input_grafana_okta_auth_url"></a> [grafana\_okta\_auth\_url](#input\_grafana\_okta\_auth\_url) | OKTA Auth URL for Grafana | `string` | `""` | no |
42-
| <a name="input_grafana_okta_client_id"></a> [grafana\_okta\_client\_id](#input\_grafana\_okta\_client\_id) | OKTA Client ID for Grafana | `string` | n/a | yes |
43-
| <a name="input_grafana_okta_client_secret"></a> [grafana\_okta\_client\_secret](#input\_grafana\_okta\_client\_secret) | OKTA Client Secret for Grafana | `string` | n/a | yes |
44-
| <a name="input_grafana_okta_token_url"></a> [grafana\_okta\_token\_url](#input\_grafana\_okta\_token\_url) | OKTA Token URL for Grafana | `string` | `""` | no |
63+
| <a name="input_grafana_ingress_annotations"></a> [grafana\_ingress\_annotations](#input\_grafana\_ingress\_annotations) | Annotations for ingress | `map(any)` | `{}` | no |
64+
| <a name="input_grafana_ingress_enabled"></a> [grafana\_ingress\_enabled](#input\_grafana\_ingress\_enabled) | Enable Ingress | `bool` | `false` | no |
65+
| <a name="input_grafana_ingress_hosts"></a> [grafana\_ingress\_hosts](#input\_grafana\_ingress\_hosts) | Hosts for ingress | `list(any)` | `[]` | no |
66+
| <a name="input_grafana_ingress_labels"></a> [grafana\_ingress\_labels](#input\_grafana\_ingress\_labels) | Labels for ingress | `map(any)` | `{}` | no |
67+
| <a name="input_grafana_ingress_tls"></a> [grafana\_ingress\_tls](#input\_grafana\_ingress\_tls) | TLS configuration for ingress | `list(any)` | `[]` | no |
68+
| <a name="input_grafana_init_chown_data_enabled"></a> [grafana\_init\_chown\_data\_enabled](#input\_grafana\_init\_chown\_data\_enabled) | Enable the Chown init container | `bool` | `true` | no |
69+
| <a name="input_grafana_init_chown_data_resources"></a> [grafana\_init\_chown\_data\_resources](#input\_grafana\_init\_chown\_data\_resources) | Resources for the Chown init container | `map(any)` | `{}` | no |
70+
| <a name="input_grafana_ldap_config"></a> [grafana\_ldap\_config](#input\_grafana\_ldap\_config) | String with contents for LDAP configuration in TOML | `string` | `""` | no |
71+
| <a name="input_grafana_ldap_existing_secret"></a> [grafana\_ldap\_existing\_secret](#input\_grafana\_ldap\_existing\_secret) | Use an existing secret for LDAP config | `string` | `""` | no |
72+
| <a name="input_grafana_main_config"></a> [grafana\_main\_config](#input\_grafana\_main\_config) | Main Config file in YAML | `string` | `"paths:\n data: /var/lib/grafana/data\n logs: /var/log/grafana\n plugins: /var/lib/grafana/plugins\n provisioning: /etc/grafana/provisioning\nanalytics:\n check_for_updates: true\nlog:\n mode: console\ngrafana_net:\n url: https://grafana.netn"` | no |
73+
| <a name="input_grafana_node_selector"></a> [grafana\_node\_selector](#input\_grafana\_node\_selector) | Node selector for Pods | `map(any)` | `{}` | no |
74+
| <a name="input_grafana_notifiers"></a> [grafana\_notifiers](#input\_grafana\_notifiers) | YAML string to configure notifiers http://docs.grafana.org/administration/provisioning/#alert-notification-channels | `string` | `""` | no |
75+
| <a name="input_grafana_okta_config"></a> [grafana\_okta\_config](#input\_grafana\_okta\_config) | okta config for grafana | `string` | `""` | no |
76+
| <a name="input_grafana_okta_enabled"></a> [grafana\_okta\_enabled](#input\_grafana\_okta\_enabled) | okta config to enable | `bool` | `false` | no |
77+
| <a name="input_grafana_pdb"></a> [grafana\_pdb](#input\_grafana\_pdb) | PodDisruptionBudget for Grafana | `map(any)` | <pre>{<br> "minAvailable": 1<br>}</pre> | no |
78+
| <a name="input_grafana_persistence_annotations"></a> [grafana\_persistence\_annotations](#input\_grafana\_persistence\_annotations) | Annotations for the PV | `map(any)` | `{}` | no |
79+
| <a name="input_grafana_persistence_enabled"></a> [grafana\_persistence\_enabled](#input\_grafana\_persistence\_enabled) | Enable PV | `bool` | `false` | no |
80+
| <a name="input_grafana_persistence_existing_claim"></a> [grafana\_persistence\_existing\_claim](#input\_grafana\_persistence\_existing\_claim) | Use an existing PVC | `string` | `""` | no |
81+
| <a name="input_grafana_persistence_size"></a> [grafana\_persistence\_size](#input\_grafana\_persistence\_size) | Size of the PV | `string` | `"10Gi"` | no |
82+
| <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 |
84+
| <a name="input_grafana_pod_annotations"></a> [grafana\_pod\_annotations](#input\_grafana\_pod\_annotations) | Pod annotations | `map(any)` | `{}` | no |
85+
| <a name="input_grafana_priority_class_name"></a> [grafana\_priority\_class\_name](#input\_grafana\_priority\_class\_name) | Priority Class name for Grafana | `string` | `""` | no |
86+
| <a name="input_grafana_psp_enable"></a> [grafana\_psp\_enable](#input\_grafana\_psp\_enable) | Enable PSP | `bool` | `true` | no |
87+
| <a name="input_grafana_psp_use_app_armor"></a> [grafana\_psp\_use\_app\_armor](#input\_grafana\_psp\_use\_app\_armor) | Use AppAmor in the PSP | `bool` | `true` | no |
88+
| <a name="input_grafana_resources"></a> [grafana\_resources](#input\_grafana\_resources) | Resources for Grafana container | `map(any)` | `{}` | no |
4589
| <a name="input_grafana_s3_image_bucket"></a> [grafana\_s3\_image\_bucket](#input\_grafana\_s3\_image\_bucket) | Grafana S3 image bucket | `string` | `""` | no |
4690
| <a name="input_grafana_s3_image_bucket_region"></a> [grafana\_s3\_image\_bucket\_region](#input\_grafana\_s3\_image\_bucket\_region) | Region of the Grafana S3 image bucket | `string` | `""` | no |
91+
| <a name="input_grafana_security_context"></a> [grafana\_security\_context](#input\_grafana\_security\_context) | Security context for pods defined as a map which will be serialized to JSON. | `any` | <pre>{<br> "fsGroup": 472,<br> "runAsGroup": 472,<br> "runAsUser": 472<br>}</pre> | no |
4792
| <a name="input_grafana_server_root_url"></a> [grafana\_server\_root\_url](#input\_grafana\_server\_root\_url) | Grafana Server Root URL | `string` | `""` | no |
93+
| <a name="input_grafana_service_account"></a> [grafana\_service\_account](#input\_grafana\_service\_account) | Name of the Service Account for Grafana | `string` | `""` | no |
94+
| <a name="input_grafana_service_account_annotations"></a> [grafana\_service\_account\_annotations](#input\_grafana\_service\_account\_annotations) | Annotations for service account | `map(any)` | `{}` | no |
95+
| <a name="input_grafana_service_annotations"></a> [grafana\_service\_annotations](#input\_grafana\_service\_annotations) | Annotations for the service | `map(any)` | `{}` | no |
96+
| <a name="input_grafana_service_labels"></a> [grafana\_service\_labels](#input\_grafana\_service\_labels) | Labels for the service | `map(any)` | `{}` | no |
97+
| <a name="input_grafana_service_port"></a> [grafana\_service\_port](#input\_grafana\_service\_port) | Port of the service | `string` | `"80"` | no |
98+
| <a name="input_grafana_service_target_port"></a> [grafana\_service\_target\_port](#input\_grafana\_service\_target\_port) | Port in container to expose service | `string` | `"3000"` | no |
99+
| <a name="input_grafana_service_type"></a> [grafana\_service\_type](#input\_grafana\_service\_type) | Service type | `string` | `"ClusterIP"` | no |
100+
| <a name="input_grafana_smtp_existing_secret"></a> [grafana\_smtp\_existing\_secret](#input\_grafana\_smtp\_existing\_secret) | Existing secret containing the SMTP credentials | `string` | `""` | no |
101+
| <a name="input_grafana_smtp_password_key"></a> [grafana\_smtp\_password\_key](#input\_grafana\_smtp\_password\_key) | Key in the secret containing the SMTP password | `string` | `"password"` | no |
102+
| <a name="input_grafana_smtp_user_key"></a> [grafana\_smtp\_user\_key](#input\_grafana\_smtp\_user\_key) | Key in the secret containing the SMTP username | `string` | `"user"` | no |
103+
| <a name="input_grafana_tolerations"></a> [grafana\_tolerations](#input\_grafana\_tolerations) | Tolerations for pods | `list(any)` | `[]` | no |
104+
| <a name="input_image"></a> [image](#input\_image) | Docker Image for Grafana | `string` | `"grafana/grafana"` | no |
105+
| <a name="input_image_renderer_annotations"></a> [image\_renderer\_annotations](#input\_image\_renderer\_annotations) | image-renderer deployment annotations | `map(any)` | `{}` | no |
106+
| <a name="input_image_renderer_enabled"></a> [image\_renderer\_enabled](#input\_image\_renderer\_enabled) | Enable the image-renderer deployment and service | `bool` | `true` | no |
107+
| <a name="input_image_renderer_env"></a> [image\_renderer\_env](#input\_image\_renderer\_env) | image-renderer extra environment variables | `map(any)` | <pre>{<br> "HTTP_HOST": "0.0.0.0"<br>}</pre> | no |
108+
| <a name="input_image_renderer_image_repository"></a> [image\_renderer\_image\_repository](#input\_image\_renderer\_image\_repository) | image-renderer Image repository | `string` | `"grafana/grafana-image-renderer"` | no |
109+
| <a name="input_image_renderer_image_tag"></a> [image\_renderer\_image\_tag](#input\_image\_renderer\_image\_tag) | image-renderer Image tag | `string` | `"latest"` | no |
110+
| <a name="input_image_renderer_pod_annotations"></a> [image\_renderer\_pod\_annotations](#input\_image\_renderer\_pod\_annotations) | image-renderer pod annotations | `map(any)` | `{}` | no |
111+
| <a name="input_image_renderer_port"></a> [image\_renderer\_port](#input\_image\_renderer\_port) | image-renderer service port used by both service and deployment | `string` | `"8081"` | no |
112+
| <a name="input_image_renderer_priority_class_name"></a> [image\_renderer\_priority\_class\_name](#input\_image\_renderer\_priority\_class\_name) | image-renderer deployment priority class | `string` | `""` | no |
113+
| <a name="input_image_renderer_replicas"></a> [image\_renderer\_replicas](#input\_image\_renderer\_replicas) | Number of replicas of image-renderer to run | `number` | `1` | no |
114+
| <a name="input_image_renderer_resources"></a> [image\_renderer\_resources](#input\_image\_renderer\_resources) | Resources for image-renderer container | `map(any)` | `{}` | no |
115+
| <a name="input_image_renderer_security_context"></a> [image\_renderer\_security\_context](#input\_image\_renderer\_security\_context) | image-renderer deployment securityContext | `any` | `{}` | no |
116+
| <a name="input_image_renderer_service_account"></a> [image\_renderer\_service\_account](#input\_image\_renderer\_service\_account) | image-renderer deployment serviceAccount | `string` | `""` | no |
117+
| <a name="input_image_renderer_target_port"></a> [image\_renderer\_target\_port](#input\_image\_renderer\_target\_port) | image-renderer service targetPort used by both service and deployment | `string` | `"8081"` | no |
48118
| <a name="input_max_history"></a> [max\_history](#input\_max\_history) | Max History for Helm | `number` | `20` | no |
49119
| <a name="input_prometheus_host_url"></a> [prometheus\_host\_url](#input\_prometheus\_host\_url) | Prometheus Host URL | `string` | `""` | no |
50120
| <a name="input_prometheus_image_repository"></a> [prometheus\_image\_repository](#input\_prometheus\_image\_repository) | Prometheus Image repository | `string` | `"quay.io/prometheus/prometheus"` | no |
51121
| <a name="input_prometheus_image_tag"></a> [prometheus\_image\_tag](#input\_prometheus\_image\_tag) | Prometheus Image tag | `string` | `"v2.36.2"` | no |
52122
| <a name="input_prometheus_operator_image_repository"></a> [prometheus\_operator\_image\_repository](#input\_prometheus\_operator\_image\_repository) | Prometheus Operator Image repository | `string` | `"quay.io/prometheus-operator/prometheus-operator"` | no |
53123
| <a name="input_prometheus_operator_image_tag"></a> [prometheus\_operator\_image\_tag](#input\_prometheus\_operator\_image\_tag) | Prometheus Operator Image Tag | `string` | `"v0.57.0"` | no |
124+
| <a name="input_recreate_pods"></a> [recreate\_pods](#input\_recreate\_pods) | Recreate the pods with every helm update | `bool` | `"false"` | no |
54125
| <a name="input_release_name"></a> [release\_name](#input\_release\_name) | Helm release name | `string` | `"kube-prometheus-stack"` | no |
55-
| <a name="input_smtp_from_address"></a> [smtp\_from\_address](#input\_smtp\_from\_address) | From Address which want to send emails | `string` | `""` | no |
56-
| <a name="input_smtp_host"></a> [smtp\_host](#input\_smtp\_host) | SMTP Server Host Address | `string` | `""` | no |
57-
| <a name="input_smtp_password"></a> [smtp\_password](#input\_smtp\_password) | SMTP Password | `string` | n/a | yes |
58-
| <a name="input_smtp_user"></a> [smtp\_user](#input\_smtp\_user) | SMTP User | `string` | n/a | yes |
126+
| <a name="input_replicas"></a> [replicas](#input\_replicas) | Number of replicas of Grafana to run | `number` | `1` | no |
127+
| <a name="input_tag"></a> [tag](#input\_tag) | Docker Image tag for Grafana | `string` | `"9.0.3"` | no |
59128

60129
## Outputs
61130

0 commit comments

Comments
 (0)