-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
87 lines (76 loc) · 1.71 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
variable "context" {
type = string
default = "default"
description = "kube cluster context"
}
variable "keep_namespace" {
description = "Keep namespace after deletion"
type = bool
default = false
}
variable "components_extra" {
description = "Extra components"
type = list(string)
default = []
}
variable "kubeconfig_path" {
type = string
default = "~/.kube/config"
description = "kubeconfig path"
}
variable "github_token" {
type = string
description = "github token"
}
variable "github_repository" {
type = string
default = "stuttgart-things"
description = "github repository name"
}
variable "github_org" {
type = string
default = "stuttgart-things"
description = "github repository name"
}
variable "target_path" {
type = string
default = "staging-cluster"
description = "flux sync target path"
}
variable "secrets" {
type = list(object({
name = string
namespace = string
kvs = map(string)
}))
default = []
description = "A list of secret objects"
}
variable "configmaps" {
type = list(object({
name = string
namespace = string
kvs = map(string)
}))
default = []
description = "A list of configmap objects"
}
variable "kustomization_patches" {
type = string
description = "kustomization_patches"
default = <<-EOT
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- gotk-components.yaml
- gotk-sync.yaml
EOT
}
variable "additional_manifests" {
type = list(object({
content = string
}))
default = []
description = "A list of additional_manifests to deploy"
}