-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
97 lines (78 loc) · 2.04 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
variable "tenancy_ocid" {} # (tenancy OCID), already provided on stack and pipeline
variable "compartment_ocid" {} # (compartment OCID), already provided on stack
variable "region" {} # (region), already provided on stack
variable "current_user_ocid" {}
variable "compartment_id" {}
variable "create_oke_cluster" {
type = bool
default = true
}
variable "existing_oke_compartment_id" {
default = null
description = "To be set only if create_oke_cluster is false"
}
variable "oke_cluster_id" {
default = null
}
variable "jenkins_controller_namespace" {
default = "jenkins"
}
variable "jenkins_admin_username" {
default = "admin"
}
variable "jenkins_admin_password" {
sensitive = true
}
variable "jenkins_service_name" {
default = "jenkins-controller"
}
variable "jenkins_service_port" {
type = number
default = 80
}
variable "create_agent_namespace" {
type = bool
default = true
}
variable "agent_namespace" {
default = "jenkins-agents"
}
variable "max_concurrent_agents" {
type = number
default = 15
}
variable "oke_compartment_id" {
default = null
description = "To be set only if create_oke_cluster is true"
}
variable "oke_cluster_name" {
default = "oke-devops"
}
variable "kubernetes_version" {
default = "v1.25.4"
}
variable "oke_vcn_name" {
default = "oke-vcn"
}
variable "oke_vcn_cidrs" {
type = list(string)
default = ["10.0.0.0/16"]
}
variable "create_node_pool" {
type = bool
default = true
}
variable "custom_image_name" {
default = "custom-jenkins"
}
variable "custom_image_tag" {
default = "latest"
}
variable "jenkins_plugins" {
type = list(string)
default = [ "configuration-as-code", "kubernetes", "kubernetes-credentials-provider", "job-dsl", "github", "credentials", "workflow-multibranch", "workflow-aggregator", "pipeline-stage-view", "git", "oracle-cloud-infrastructure-devops", "bouncycastle-api", "ssh-credentials" ]
}
variable "ocir_compartment_id" {}
variable "auth_token" {
sensitive = true
}