-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
50 lines (39 loc) · 1 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
variable "name" {
type = string
description = "Name of the app that's going to be using this pushgateway, or just name of the pushgateway"
}
variable "namespace" {
type = string
description = "Kubernetes namespace to use"
}
variable "pushgateway-image" {
type = string
description = "Image to use"
default = "quay.io/prometheus/pushgateway"
}
variable "pushgateway-image-tag" {
type = string
description = "Tag of the pushgateway image to use"
default = "v1.4.2"
}
variable "requests" {
type = map(string)
description = "requests for the deployment"
default = {
cpu = "100m"
memory = "128Mi"
}
}
variable "limits" {
type = map(string)
description = "limits for the deployment"
default = {
cpu = "100m"
memory = "128Mi"
}
}
variable "servicemonitor-label" {
type = map(string)
description = "Special label for ServiceMonitor resource, in case your prometheus has `serviceMonitorSelector` set"
default = {}
}