-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
103 lines (77 loc) · 2.2 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
variable "gke-project" {
type = string
description = "ID of the project which contains the GKE cluster in which the generator is going to live."
}
variable "generator-version" {
type = string
description = "omni-slo-generator version to use"
default = "1.0.1"
}
variable "storage-project" {
type = string
description = "ID of the project which will be used for buckets etc."
}
variable "namespace" {
type = string
description = "kubernetes namespace where to deploy slo generator"
}
variable "image" {
type = string
description = "slo-generator image to use"
default = "ghcr.io/heureka/omni-slo-generator"
}
variable "image-tag" {
type = string
description = "slo-generator image tag to use"
default = "releases-1.0.1"
}
variable "api-requests" {
type = map(string)
description = "requests for the api in kubernetes"
default = {
cpu = "200m"
memory = "200Mi"
}
}
variable "api-limits" {
type = map(string)
description = "limits for the api in kubernetes"
default = {
cpu = "200m"
memory = "200Mi"
}
}
variable "prometheus-backend-url" {
type = string
description = "URL for the prometheus backend to read metrics from"
default = "http://mimir-nginx.monitoring:8888/prometheus"
}
variable "prometheus-backend-orgid-header" {
type = string
description = "URL for the prometheus backend to read metrics from"
default = ""
}
variable "ingress-host" {
type = string
description = "host at which the api should be available outside of kubernetes"
default = ""
}
variable "ingress-class-name" {
type = string
description = "ingress class to use for an ingress resource"
default = "nginx"
}
variable "bucket-location" {
type = string
description = "location for the GCS bucket which SLOs will be read from"
default = "EU"
}
variable "bucket-name" {
type = string
description = "name of the GCS bucket which SLOs will be read from"
}
variable "servicemonitor-label" {
type = map(string)
description = "Special label for ServiceMonitor resource, in case your prometheus has `serviceMonitorSelector` set"
default = {}
}