-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
108 lines (87 loc) · 3.07 KB
/
Copy pathvariables.tf
File metadata and controls
108 lines (87 loc) · 3.07 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
# ============================================================
# Root Terraform Variables
# F5 BNK Orchestrator for existing ROKS cluster
# ============================================================
# ============================================================
# IBM Cloud Variables
# ============================================================
variable "ibmcloud_api_key" {
description = "IBM Cloud API Key"
type = string
sensitive = true
}
variable "ibmcloud_cluster_region" {
description = "IBM Cloud region where the cluster resides"
type = string
default = "ca-tor"
}
variable "ibmcloud_resource_group" {
description = "IBM Cloud Resource Group name (leave empty to use account default)"
type = string
default = "default"
}
# ============================================================
# Cluster Inputs
# ============================================================
variable "roks_cluster_name_or_id" {
description = "Name or ID of the existing OpenShift ROKS cluster to deploy BNK onto"
type = string
validation {
condition = length(var.roks_cluster_name_or_id) > 0
error_message = "roks_cluster_name_or_id cannot be empty — an existing cluster is required."
}
}
# ============================================================
# FAR / Registry Configuration
# ============================================================
variable "far_repo_url" {
description = "FAR Repository URL for Docker and Helm registry"
type = string
default = "repo.f5.com"
}
# ============================================================
# FLO Namespace Configuration
# ============================================================
variable "flo_namespace" {
description = "Namespace for F5 Lifecycle Operator"
type = string
default = "f5-bnk"
}
variable "flo_utils_namespace" {
description = "Namespace for F5 utility components"
type = string
default = "f5-utils"
}
variable "f5_bigip_k8s_manifest_version" {
description = "Version of f5-bigip-k8s-manifest chart - used by flo, cneinstance modules"
type = string
default = "2.3.0-3.2598.3-0.0.170"
}
variable "flo_trusted_profile_id" {
description = "IBM IAM Trusted Profile ID for provisioning VPC routes"
type = string
default = ""
}
variable "flo_cluster_issuer_name" {
description = "mTLS certificate issuer name"
type = string
default = ""
}
# ============================================================
# CNEInstance Configuration
# ============================================================
variable "cneinstance_deployment_size" {
description = "Deployment size for CNEInstance (Small, Medium, Large)"
type = string
default = "Small"
}
variable "cneinstance_gslb_datacenter_name" {
description = "GSLB datacenter name for CNEInstance (optional)"
type = string
default = ""
}
variable "cneinstance_network_attachments" {
description = "The Multus Network Attachment Definitions for the CNEInstance TMM deployments"
type = list(string)
default = ["ens3-ipvlan-l2", "macvlan-conf"]
}