-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvariables.tf
81 lines (73 loc) · 2.19 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
variable "helm_namespace" {
description = "The namespace Helm will install the chart under"
}
variable "helm_release" {
default = "kube-prometheus-stack"
description = "The name of the Helm release"
}
variable "helm_repository" {
default = "https://prometheus-community.github.io/helm-charts"
description = "The repository where the Helm chart is stored"
}
variable "helm_repository_password" {
type = string
nullable = false
default = ""
description = "The password of the repository where the Helm chart is stored"
sensitive = true
}
variable "helm_repository_username" {
type = string
nullable = false
default = ""
description = "The username of the repository where the Helm chart is stored"
sensitive = true
}
variable "chart_version" {
description = "Version of the Helm chart"
}
variable "enable_destinationrules" {
type = bool
default = false
description = "Creates DestinationRules for Prometheus, Alertmanager, Grafana, and Node Exporters"
}
variable "enable_thanos_destinationrules" {
type = bool
default = false
description = "Creates DestinationRule for Thanos Sidecar"
}
variable "destinationrules_mode" {
type = string
default = "DISABLE"
description = "DestionationRule TLS mode"
}
variable "destinationrules_labels" {
type = map(string)
default = {}
description = "Labels applied to DestinationRules"
}
variable "cluster_domain" {
type = string
default = "cluster.local"
description = "Cluster domain for DestinationRules"
}
variable "enable_prometheusrules" {
type = bool
default = true
description = "Adds PrometheusRules for alerts"
}
variable "values" {
default = ""
type = string
description = "Values to be passed to the Helm chart"
}
variable "prometheus_pvc_name" {
type = string
default = "prometheus-kube-prometheus-stack-prometheus-db-prometheus-kube-prometheus-stack-prometheus-0"
description = "Used for storage alert. Set if using non-default helm_release"
}
variable "alertmanager_replicas" {
type = number
default = 1
description = "Number of replicas for Alertmanager"
}