forked from hellofresh/eks-rolling-update
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvariables.tf
50 lines (45 loc) · 1.12 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 "app_name" {
type = string
description = "The name of application"
default = "eks-rolling-update"
}
variable "namespace" {
type = string
description = "The name of a pre-existing kubernetes namespace where eks-rolling-update will be deployed"
default = "kube-system"
}
variable "eks_oidc_provider" {
type = string
description = "OIDC provider for the EKS cluster"
}
variable "cluster_autoscaler" {
type = object({
enabled = bool
namespace = string
deployment = string
replicas = number
})
description = "Configuration for cluster autoscaler"
default = {
enabled = false
namespace = ""
deployment = ""
replicas = 0
}
}
variable "schedule" {
type = string
description = "Schedule for running eks-rolling-update in cron format"
default = "0 3 * * *"
}
variable "eks_rolling_update_image" {
type = object({
image = string
tag = string
})
description = "Container image used for running the cronjob"
default = {
image = "ghcr.io/deinstapel/eks-rolling-update/eks-rolling-update"
tag = "edge"
}
}