-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
108 lines (92 loc) · 2.01 KB
/
variables.tf
File metadata and controls
108 lines (92 loc) · 2.01 KB
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
/*
* Copyright (c) 2020 Risk Focus Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
# Jenkins specific
variable "jenkins_resources" {
type = map(string)
default = {
"cpu" : "1",
"memory" : "2Gi",
}
}
variable "jenkins_helm_chart_version" {
type = string
default = "3.5.17"
}
#
# Nexus specific
variable "nexus_storage_size" {
type = string
default = "20Gi"
}
variable "nexus_helm_chart_version" {
type = string
default = "5.0.0"
}
#
# Chartmuseum specific
variable "chartmuseum_storage_size" {
type = string
default = "2Gi"
}
variable "chartmuseum_helm_chart_version" {
type = string
default = "2.11.0"
}
#
variable "git_provider" {
type = string
default = "github"
}
variable "git_username" {
type = string
}
variable "git_api_token" {
type = string
description = <<EOF
https://bitbucket.org/account/user/USERNAME/app-passwords/new
Access:
* Repo: admin NO-delete
* PR: rw
* issue: r
* Webhooks: rw
EOF
}
variable "eks_cluster" {}
variable "kubernetes_host" {}
variable "kubernetes_ca_certificate" {}
variable "project_prefix" {}
variable "global_fqdn" {}
variable "domain" {}
variable "kubernetes_namespace" {
type = string
default = "cicd"
}
variable "cadmium_repo" {
type = string
default = "none"
}
variable "nexus_s3_bucket" {
type = string
description = "S3 bucket that Nexus will use as main blob store"
}
variable "provision_nexus" {
type = bool
default = false
}
variable "global_maven_repo_url" {
type = string
default = ""
}