← Back to registry

modules/grafana/kubernetes

View module source code

Source: tfr.davidguerrero.fr/modules/grafana/kubernetes

module "grafana" {
  source  = "tfr.davidguerrero.fr/modules/grafana/kubernetes"
  version = "0.1.2"
}

Versions


Requirements

Name Version
terraform >= 1.0
kubernetes >= 3
random ~> 3.9.0

Providers

Name Version
kubernetes >= 3
random ~> 3.9.0

Modules

Name Source Version
grafana tfr.davidguerrero.fr/modules/helm-release/kubernetes ~> 0.1.0

Resources

Name Type
kubernetes_manifest.reference_grant resource
kubernetes_namespace_v1.namespace resource
kubernetes_secret_v1.db resource
kubernetes_secret_v1.s3 resource
random_password.admin resource

Inputs

Name Description Type Default Required
admin_username The default admin username. string "grafana" no
chart_version Helm chart version. string "12.4.1" no
create_namespace Whether to create the namespace. bool true no
database_host Database host. string n/a yes
database_name Database name. string "umami" no
database_password Database password. string n/a yes
database_username Database username. string n/a yes
gateway_namespaces The Gateway namespaces to create ReferenceGrants for. set(string) [] no
image_tag The image tag. string "13.1.0-25893932881-ubuntu" no
logs_bucket_access_key_id The logs bucket access key ID. string n/a yes
logs_bucket_endpoint The logs bucket endpoint. string n/a yes
logs_bucket_name The logs bucket name. string n/a yes
logs_bucket_region The logs bucket region. string n/a yes
logs_bucket_secret_access_key The logs bucket secret access key. string n/a yes
logs_daily_compaction Whether to use daily compacted logs when querying. bool false no
namespace_name The installation namespace. string "grafana" no
resources Resource requests & limits. object({ requests = optional(object({ cpu = optional(string) memory = optional(string) }), {}) limits = optional(object({ cpu = optional(string) memory = optional(string) }), {}) }) {} no
vm_scrape_interval The scrape interval defined in vmagent (e.g. '10s'). string n/a yes
vmselect_host The service hostname to reach vmselect on. string n/a yes

Outputs

No outputs.