forked from hivenetes/k8s-bootstrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
95 lines (80 loc) · 2.41 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
# ===================== DO CONFIG VARS =======================
variable "do_token" {
description = "Personal Access Token to access the DigtialOcean API)"
}
# ===================== DOKS CONFIG VARS =======================
variable "doks_cluster_name_prefix" {
type = string
default = "k8s-bootstrapper"
description = "DOKS cluster name prefix value (a random suffix is appended automatically)"
}
variable "doks_k8s_version" {
type = string
default = "1.25"
description = "DOKS Kubernetes version"
}
variable "doks_cluster_region" {
type = string
default = "ams3"
description = "DOKS region name"
}
variable "doks_default_node_pool" {
type = map(any)
default = {
name = "bootstrapper-default"
node_count = 2
size = "s-2vcpu-4gb"
}
description = "DOKS cluster default node pool configuration"
}
variable "doks_additional_node_pools" {
type = map(any)
default = {}
description = "DOKS cluster extra node pool configuration"
}
# ===================== DOKS CONFIG VARS =======================
variable "container_registry" {
type = string
default = "bootstrapper-cr"
}
# ===================== ARGOCD HELM CONFIG VARS =======================
variable "enable_argocd_helm_release" {
type = bool
default = true
description = "Enable/disable ArgoCD Helm chart deployment on DOKS"
}
variable "argocd_helm_repo" {
type = string
default = "https://argoproj.github.io/argo-helm"
description = "ArgoCD Helm chart repository URL"
}
variable "argocd_helm_chart" {
type = string
default = "argo-cd"
description = "argocd Helm chart name"
}
variable "argocd_helm_release_name" {
type = string
default = "argocd"
description = "argocd Helm release name"
}
variable "argocd_helm_chart_version" {
type = string
default = "5.16.14"
description = "ArgoCD Helm chart version to deploy"
}
variable "argocd_helm_chart_timeout_seconds" {
type = number
default = 300
description = "Timeout value for Helm chart install/upgrade operations"
}
variable "argocd_k8s_namespace" {
type = string
default = "argocd"
description = "Kubernetes namespace to use for the argocd Helm release"
}
variable "argocd_additional_helm_values_file" {
type = string
default = "argocd-ha-helm-values.yaml"
description = "Additional Helm values to use"
}