Skip to content

Commit 5ba06fe

Browse files
committed
fix: missing vars for cluster
Signed-off-by: Ali Mukadam <ali.mukadam@oracle.com>
1 parent 9a99d70 commit 5ba06fe

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

modules/verrazzano/resources/vz_admin.template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ spec:
5555
global:
5656
meshID: ${mesh_id}
5757
multiCluster:
58-
clusterName: ${cluster_name}
58+
clusterName: ${cluster}
5959
network: ${mesh_network}
6060
components:
6161
egressGateways:

modules/verrazzano/resources/vz_admin_nip.template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ spec:
5252
global:
5353
meshID: ${mesh_id}
5454
multiCluster:
55-
clusterName: ${cluster_name}
55+
clusterName: ${cluster}
5656
network: ${mesh_network}
5757
components:
5858
egressGateways:

modules/verrazzano/resources/vz_mc_nip.template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ spec:
3636
global:
3737
meshID: ${mesh_id}
3838
multiCluster:
39-
clusterName: ${cluster_name}
39+
clusterName: ${cluster}
4040
network: ${mesh_network}
4141
components:
4242
egressGateways:

modules/verrazzano/templates.tf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ locals {
8181
vz_admin_template = tobool(var.configure_dns) ? templatefile("${path.module}/resources/vz_admin.template.yaml", {
8282
profile = var.verrazzano_profile
8383
argocd = var.argocd
84+
cluster = "admin"
8485
coherence = var.coherence
8586
console = var.console
8687
compartment_id = var.dns_compartment_id
@@ -95,7 +96,6 @@ locals {
9596
flex_max = lookup(var.verrazzano_load_balancer, "flex_max")
9697
control_plane_nsg = var.verrazzano_control_plane == "public" ? lookup(var.pub_nsg_ids, "admin") : lookup(var.int_nsg_ids, "admin")
9798
mesh_id = var.mesh_id
98-
cluster_name = "admin"
9999
mesh_network = "admin"
100100
data_plane = var.verrazzano_data_plane == "public" ? false : true
101101
data_plane_nsg = var.verrazzano_data_plane == "public" ? lookup(var.pub_nsg_ids, "admin") : lookup(var.int_nsg_ids, "admin")
@@ -114,6 +114,7 @@ locals {
114114
) : templatefile("${path.module}/resources/vz_admin_nip.template.yaml", {
115115
profile = var.verrazzano_profile
116116
argocd = var.argocd
117+
cluster = "admin"
117118
coherence = var.coherence
118119
console = var.console
119120
environment = "${var.label_prefix}-admin"
@@ -136,6 +137,7 @@ locals {
136137
opensearch_dashboards = var.opensearch_dashboards
137138
prometheus = var.prometheus
138139
prometheus_operator = var.prometheus_operator
140+
rancher = var.rancher
139141
velero = var.velero
140142
weblogic_operator = var.weblogic_operator
141143
}
@@ -186,7 +188,7 @@ locals {
186188
{
187189
cluster = k
188190
coherence = var.coherence
189-
fluentd = var.fluentd
191+
fluentd = var.fluentd
190192
control_plane = var.verrazzano_control_plane == "public" ? false : true
191193
control_plane_nsg = var.verrazzano_control_plane == "public" ? lookup(var.pub_nsg_ids, k) : lookup(var.int_nsg_ids, k)
192194
data_plane = var.verrazzano_data_plane == "public" ? false : true

0 commit comments

Comments
 (0)