-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvariables.tf
48 lines (48 loc) · 1.51 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
variable "service_name" {
type = string
description = "(Required) Application name for attach to ingress. Service name."
}
variable "ingress_name" {
type = string
description = "Specific ingress name instead name as service"
default = null
}
variable "ingress_v1_enable" {
type = bool
description = "Enable ingress v1 tf resource type"
default = true
}
variable "service_namespace" {
type = string
description = "(Required) Namespace where located service"
}
variable "rule" {
description = "(Required) External Service port, ingress will redirect request to this service port. Also could add subdomain ( example: subdomain.domainname.com). And path for access ( example: domain.com/path ). And redefine domain."
}
variable "domain_name" {
type = string
description = "(Otional) Global domain name for all URL ( example: google.com)."
default = "example.com"
}
variable "tls" {
type = list(string)
description = "(Optional) Enable https traffic & and include SSL Certificate"
default = []
}
variable "annotations" {
description = "(Optional) Custom Annotations"
default = null
}
variable "ingress_class_name" {
description = "Ingress Class name"
type = string
default = "nginx"
}
variable "tls_hosts" {
description = "(Optional) Enable https traffic & and include SSL Certificate with hosts match"
default = []
}
variable "path_type" {
description = "Path type for ingress rule"
default = "ImplementationSpecific"
}