forked from lablabs/terraform-aws-eks-external-dns
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
150 lines (125 loc) · 4.02 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
variable "enabled" {
type = bool
default = true
description = "Variable indicating whether deployment is enabled"
}
variable "cluster_name" {
type = string
description = "The name of the cluster"
}
variable "cluster_identity_oidc_issuer" {
type = string
description = "The OIDC Identity issuer for the cluster"
}
variable "cluster_identity_oidc_issuer_arn" {
type = string
description = "The OIDC Identity issuer ARN for the cluster that can be used to associate IAM roles with a service account"
}
variable "helm_chart_name" {
type = string
default = "external-dns"
description = "Helm chart name to be installed"
}
variable "helm_chart_version" {
type = string
default = "5.4.4"
description = "Version of the Helm chart"
}
variable "helm_release_name" {
type = string
default = "external-dns"
description = "Helm release name"
}
variable "helm_repo_url" {
type = string
default = "https://charts.bitnami.com/bitnami"
description = "Helm repository"
}
variable "helm_create_namespace" {
type = bool
default = true
description = "Whether to create k8s namespace with name defined by `k8s_namespace`"
}
variable "k8s_namespace" {
type = string
default = "kube-system"
description = "The K8s namespace in which the external-dns will be installed"
}
variable "k8s_rbac_create" {
type = bool
default = true
description = "Whether to create and use RBAC resources"
}
variable "k8s_service_account_create" {
type = bool
default = true
description = "Whether to create Service Account"
}
variable "k8s_irsa_role_create" {
type = bool
default = true
description = "Whether to create IRSA role and annotate service account"
}
variable "k8s_assume_role_arn" {
default = ""
description = "Whether to create and use default role or assume existing role. Useful for hosted zones in another AWS account. Default (empty string) use default role."
}
variable "k8s_service_account_name" {
default = "external-dns"
description = "The k8s external-dns service account name"
}
variable "settings" {
type = map(any)
default = {}
description = "Additional settings which will be passed to the Helm chart values, see https://hub.helm.sh/charts/bitnami/external-dns"
}
variable "values" {
type = string
default = ""
description = "Additional yaml encoded values which will be passed to the Helm chart, see https://hub.helm.sh/charts/bitnami/external-dns"
}
variable "policy_allowed_zone_ids" {
type = list(string)
default = ["*"]
description = "List of the Route53 zone ids for service account IAM role access"
}
variable "argo_namespace" {
type = string
default = "argo"
description = "Namespace to deploy ArgoCD application CRD to"
}
variable "argo_application_enabled" {
type = bool
default = false
description = "If set to true, the module will be deployed as ArgoCD application, otherwise it will be deployed as a Helm release"
}
variable "argo_application_use_helm" {
type = bool
default = false
description = "If set to true, the ArgoCD Application manifest will be deployed using Kubernetes provider as a Helm release. Otherwise it'll be deployed as a Kubernetes manifest. See Readme for more info"
}
variable "argo_application_values" {
default = ""
description = "Value overrides to use when deploying argo application object with helm"
}
variable "argo_destionation_server" {
type = string
default = "https://kubernetes.default.svc"
description = "Destination server for ArgoCD Application"
}
variable "argo_project" {
type = string
default = "default"
description = "ArgoCD Application project"
}
variable "argo_info" {
default = [{
"name" = "terraform"
"value" = "true"
}]
description = "ArgoCD info manifest parameter"
}
variable "argo_sync_policy" {
description = "ArgoCD syncPolicy manifest parameter"
default = {}
}