-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
81 lines (76 loc) · 1.65 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
variable "gitops_config" {
type = object({
boostrap = object({
argocd-config = object({
project = string
repo = string
url = string
path = string
})
})
infrastructure = object({
argocd-config = object({
project = string
repo = string
url = string
path = string
})
payload = object({
repo = string
url = string
path = string
})
})
services = object({
argocd-config = object({
project = string
repo = string
url = string
path = string
})
payload = object({
repo = string
url = string
path = string
})
})
applications = object({
argocd-config = object({
project = string
repo = string
url = string
path = string
})
payload = object({
repo = string
url = string
path = string
})
})
})
description = "Config information regarding the gitops repo structure"
}
variable "git_credentials" {
type = list(object({
repo = string
url = string
username = string
token = string
}))
description = "The credentials for the gitops repo(s)"
sensitive = true
}
variable "namespace" {
type = string
description = "The namespace where the application should be deployed"
}
variable "kubeseal_cert" {
type = string
description = "The certificate/public key used to encrypt the sealed secrets"
default = ""
}
variable "server_name" {
type = string
description = "The name of the server"
default = "default"
}