-
Notifications
You must be signed in to change notification settings - Fork 101
/
variables.tf
119 lines (96 loc) · 3.26 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
variable "graphql_url" {
description = "URL to Apollo GraphQL"
}
variable "parent_module_name" {
description = "Name of the calling module. Needed for a hack of downloading the Helm chart."
type = string
}
variable "namespace" {
description = "Namespace name to deploy the application"
default = "default"
}
variable "prefect_version_tag" {
description = "Configures the default tag for prefect images"
default = "latest"
}
variable "annotations" {
description = "Annotations to merge into all object configurations"
default = {}
}
variable "create_tenant_enabled" {
description = "determines if the Prefect tenant is created automatically"
default = true
}
variable "agent_enabled" {
description = "determines if the Prefect Kubernetes agent is deployed"
default = true
}
variable "agent_prefect_labels" {
description = "Defines what scheduling labels (not K8s labels) should be associated with the agent"
default = [""]
}
variable "agent_image_name" {
description = "Defines the prefect agent image name"
default = "prefecthq/prefect"
}
variable "agent_image_tag" {
description = "Defines agent image tag"
default = ""
}
variable "agent_image_pull_policy" {
default = "Always"
}
variable "postgresql_database" {
description = "Database name"
default = "prefect"
}
variable "postgresql_username" {
description = "Defines the username to authenticate with"
default = "prefect"
}
variable "postgresql_existing_secret" {
description = "Configures which secret should be referenced for access to the database."
default = ""
}
variable "postgresql_service_port" {
description = "Configures the port that the database should be accessed at"
default = "5432"
}
variable "postgresql_external_hostname" {
description = "Defines the address to contact an externally managed postgres database instance at"
default = ""
}
variable "postgresql_use_subchart" {
description = "Determines if a this chart should deploy a user-manager postgres database or use an externally managed postgres instance"
default = true
}
variable "postgresql_persistence_enabled" {
description = "Enables a PVC that stores the database between deployments. If making changes to the database deployment, this PVC will need to be deleted for database changes to take effect. This is especially notable when the authentication password changes on redeploys."
default = false
}
variable "postgresql_persistence_size" {
default = "8Gi"
}
variable "postgresql_init_user" {
default = "postgres"
}
variable "service_type" {
description = "Whether to expose the service publicly or internally"
default = "LoadBalancer"
type = string
}
variable "service_account_name" {
description = "Prefect service account name"
default = "prefect-server-serviceaccount"
type = string
}
variable "seldon_manager_cluster_role_name" {
description = "Name of the cluster role that allows Prefect to manage Seldon. Leave blank not allowing Prefect to manage Seldon."
default = ""
type = string
}
variable "feast_spark_operator_cluster_role_name" {
description = "Name of the cluster role that allows Prefect to manage Spark operator on Fease. Leave blank not allowing Prefect to manage Spark."
default = ""
type = string
}