Skip to content

Cosmo-Tech/terraform-kubernetes-cosmotech-common

Repository files navigation

Requirements

Name Version
terraform >= 1.3.9
helm 2.9.0
kubectl 2.0.4
kubernetes 2.20.0

Providers

Name Version
random n/a

Modules

Name Source Version
cert-manager ./create-cert-manager n/a
create-ingress-nginx ./create-ingress-nginx n/a
create-prometheus-stack ./create-prometheus-stack n/a
keycloak ./create-keycloak n/a
loki ./create-loki n/a

Resources

Name Type
random_password.prom_admin_password resource
random_password.redis_admin_password resource

Inputs

Name Description Type Default Required
api_dns_name n/a string n/a yes
certificate_cert_content n/a string n/a yes
certificate_key_content n/a string n/a yes
cluster_issuer_email Common environment variables string n/a yes
create_keycloak n/a bool n/a yes
grafana_loki_compatibility_image_tag n/a string n/a yes
is_bare_metal n/a bool n/a yes
loadbalancer_ip n/a string n/a yes
namespace n/a string n/a yes
prom_cpu_mem_limits n/a string n/a yes
prom_cpu_mem_request n/a string n/a yes
publicip_resource_group n/a string n/a yes
resource_group n/a string n/a yes
cluster_issuer_name n/a string "letsencrypt-prod" no
create_prometheus_stack n/a bool true no
helm_chart n/a string "loki-stack" no
helm_repo_url n/a string "https://grafana.github.io/helm-charts" no
ingress_nginx_version n/a string "4.2.5" no
loki_max_entries_limet_per_query n/a number 50000 no
loki_persistence_memory n/a string "4Gi" no
loki_release_name n/a string "loki" no
loki_retention_period n/a string "720h" no
monitoring_namespace n/a string "cosmotech-monitoring" no
provisioner Value for the provisioner key in the storage class. If in a bare metal environment and no provisioner available, set this to 'local-path' string "" no
resources Values for the persistent volume and persistent volume claims when in
a bare metal context and provisioner is set to local-path.
If a provisioner is available, set the provisioner variable to the
value of the StorageClass for this provisioner.
list(object({
name = string
storage = string
labels = map(string)
access_modes = list(string)
path = string
}))
[
{
"access_modes": [
"ReadWriteOnce"
],
"labels": {
"cosmotech.com/db": "loki"
},
"name": "loki",
"path": "/mnt/loki-storage",
"storage": "8Gi"
},
{
"access_modes": [
"ReadWriteOnce"
],
"labels": {
"cosmotech.com/db": "grafana"
},
"name": "grafana",
"path": "/mnt/grafana-storage",
"storage": "8Gi"
}
]
no
tls_certificate_type n/a string "let_s_encrypt" no
tls_secret_name n/a string "letsencrypt-prod" no