-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
111 lines (94 loc) · 2.34 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
variable "flux_version" {
description = "Flux version to install"
type = string
default = "v2.3.0"
}
variable "flux_install_file" {
description = "Use this file to install flux instead default files. Using this options will ignore var.flux_version"
type = string
default = ""
}
variable "namespace" {
description = "Namespace to install flux"
type = string
default = "flux-system"
}
variable "git_repo" {
description = "Git repository URL. Empty to ignore."
type = string
default = ""
}
variable "git_branch" {
description = "Git repository branch."
type = string
default = "main"
}
variable "git_repository_template" {
description = "GitRepository template file."
type = string
default = "flux-git-repository.yaml.tpl"
}
variable "git_repository_name" {
description = "Name for GitRepository object"
type = string
default = "cluster"
}
variable "manifests_path" {
description = "Manifests dir inside GitRepository"
type = string
default = ""
}
variable "wait" {
description = "Wait for all manifests to apply"
type = bool
default = true
}
variable "reconcile_interval" {
description = "Reconcile interval for GitRepository"
type = string
default = "5m"
}
variable "identity_file" {
description = "SSH deploy private key"
type = string
default = "identity"
}
variable "identity_pub_file" {
description = "SSH deploy public key"
type = string
default = "identity.pub"
}
variable "known_hosts_file" {
description = "SSH known hosts file"
type = string
default = "known_hosts"
}
variable "manifests_template_vars" {
description = "Template vars for use by cluster manifests"
type = any
default = {
alertmanager_pagerduty_key : ""
alertmanager_opsgenie_integration_api_key : ""
}
}
variable "install_on_okd" {
description = "Apply all required patches to install on OKD (Openshift)"
type = bool
default = false
}
variable "debug" {
description = "Dump debug info to file .debug-flux.json"
type = bool
default = false
}
variable "secret_manager" {
description = "Secret manager configs"
type = object({
name = string
config = any
})
default = {
name = "none"
config = null
}
}