Giter Club home page Giter Club logo

terraform-helm-grafana's Introduction

Grafana

Deploys Grafana and some supporting services on a Kubernetes cluster.

This module makes use of the community chart.

Requirements

Name Version
terraform >= 0.15
helm ~> 2.1

Providers

Name Version
helm 2.3.0

Modules

No modules.

Resources

Name Type
helm_release.grafana resource

Inputs

Name Description Type Default Required
affinity Pod affinity map(any) {} no
annotations Deployment annotations map(any) {} no
chart_name Helm chart name to provision string "grafana" no
chart_namespace Namespace to install the chart into string "default" no
chart_repository Helm repository for the chart string "https://grafana.github.io/helm-charts" no
chart_version Version of Chart to install. Set to empty to install the latest version string "6.16.6" no
command Define command to be executed at startup by grafana container list(any) [] no
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
dashboards YAML string to configure grafana dashboard to import string "" no
dashboards_config_maps Reference to external ConfigMap per provider. Use provider name as key and ConfiMap name as value. YAML string string "" no
datasources YAML string to configure grafana datasources http://docs.grafana.org/administration/provisioning/#datasources string "" no
enable_service_links Inject Kubernetes services as environment variables. bool true no
env Extra environment variables that will be pass onto deployment pods map(any) {} no
env_from_secret The name of a secret in the same kubernetes namespace which contain values to be added to the environment string "" no
extra_configmap_mounts Extra ConfigMap to mount into the Container list(any) [] no
extra_containers YAML string for extra containers string "" no
extra_empty_dir_mounts Extra Empty DIRs to mount into the Container list(any) [] no
extra_init_containers Extra init containers list(any) [] no
extra_secret_mounts Additional grafana server secret mounts list(any) [] no
extra_volume_mounts Additional grafana server volume mounts list(any) [] no
image Docker Image for Grafana string "grafana/grafana" no
image_pull_policy Image Pull Policy for Grafana string "IfNotPresent" no
image_renderer_annotations image-renderer deployment annotations map(any) {} no
image_renderer_enabled Enable the image-renderer deployment and service bool true no
image_renderer_env image-renderer extra environment variables map(any)
{
"HTTP_HOST": "0.0.0.0"
}
no
image_renderer_image_repository image-renderer Image repository string "grafana/grafana-image-renderer" no
image_renderer_image_tag image-renderer Image tag string "latest" no
image_renderer_pod_annotations image-renderer pod annotations map(any) {} no
image_renderer_port image-renderer service port used by both service and deployment string "8081" no
image_renderer_priority_class_name image-renderer deployment priority class string "" no
image_renderer_replicas Number of replicas of image-renderer to run number 1 no
image_renderer_resources Resources for image-renderer container map(any) {} no
image_renderer_security_context image-renderer deployment securityContext map(any) {} no
image_renderer_service_account image-renderer deployment serviceAccount string "" no
image_renderer_target_port image-renderer service targetPort used by both service and deployment string "8081" no
ingress_annotations Annotations for ingress map(any) {} no
ingress_enabled Enable Ingress bool false no
ingress_hosts Hosts for ingress list(any) [] no
ingress_labels Labels for ingress map(any) {} no
ingress_tls TLS configuration for ingress list(any) [] no
init_chown_data_enabled Enable the Chown init container bool true no
init_chown_data_resources Resources for the Chown init container map(any) {} no
ldap_config String with contents for LDAP configuration in TOML string "" no
ldap_existing_secret Use an existing secret for LDAP config string "" no
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
max_history Max history for Helm number 20 no
node_selector Node selector for Pods map(any) {} no
notifiers YAML string to configure notifiers http://docs.grafana.org/administration/provisioning/#alert-notification-channels string "" no
pdb PodDisruptionBudget for Grafana map(any)
{
"minAvailable": 1
}
no
persistence_annotations Annotations for the PV map(any) {} no
persistence_enabled Enable PV bool false no
persistence_existing_claim Use an existing PVC string "" no
persistence_size Size of the PV string "10Gi" no
persistence_storage_class_name Storage Class name for the PV string "default" no
plugins List of plugins to install list [] no
pod_annotations Pod annotations map(any) {} no
priority_class_name Priority Class name for Grafana string "" no
psp_enable Enable PSP bool true no
psp_use_app_armor Use AppAmor in the PSP bool true no
release_name Helm release name for Grafana string "grafana" no
replicas Number of replicas of Grafana to run number 1 no
resources Resources for Grafana container map(any) {} no
security_context Security context for pods defined as a map which will be serialized to JSON. map(any)
{
"fsGroup": 472,
"runAsGroup": 472,
"runAsUser": 472
}
no
service_account Name of the Service Account for Grafana string "" no
service_account_annotations Annotations for service account map(any) {} no
service_annotations Annotations for the service map(any) {} no
service_labels Labels for the service map(any) {} no
service_port Port of the service string "80" no
service_target_port Port in container to expose service string "3000" no
service_type Service type string "ClusterIP" no
smtp_existing_secret Existing secret containing the SMTP credentials string "" no
smtp_password_key Key in the secret containing the SMTP password string "password" no
smtp_user_key Key in the secret containing the SMTP username string "user" no
tag Docker Image tag for Grafana string "8.1.2" no
tolerations Tolerations for pods list(any) [] no

Outputs

No outputs.

terraform-helm-grafana's People

Contributors

lawliet89 avatar tunguyen9889 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.