Skip to content

Commit c101813

Browse files
committed
fix: conflict due to duplicate cluster variables
Signed-off-by: Ali Mukadam <ali.mukadam@oracle.com>
2 parents b169bb9 + 5ba06fe commit c101813

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
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: 1 addition & 1 deletion
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")

0 commit comments

Comments
 (0)