Skip to content

Commit

Permalink
Adds sdcore_config relation for NSSF and UDM
Browse files Browse the repository at this point in the history
  • Loading branch information
Gmerold committed Jun 6, 2024
1 parent a1e1e25 commit cefc24c
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions modules/sdcore-k8s/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,20 @@ resource "juju_integration" "nrf-sdcore-config" {
}
}

resource "juju_integration" "nssf-sdcore-config" {
model = var.create_model == true ? juju_model.sdcore[0].name : var.model_name

application {
name = module.nssf.app_name
endpoint = module.nssf.sdcore_config_endpoint
}

application {
name = module.webui.app_name
endpoint = module.webui.sdcore_config_endpoint
}
}

resource "juju_integration" "smf-sdcore-config" {
model = var.create_model == true ? juju_model.sdcore[0].name : var.model_name

Expand All @@ -369,6 +383,20 @@ resource "juju_integration" "smf-sdcore-config" {
}
}

resource "juju_integration" "udm-sdcore-config" {
model = var.create_model == true ? juju_model.sdcore[0].name : var.model_name

application {
name = module.udm.app_name
endpoint = module.udm.sdcore_config_endpoint
}

application {
name = module.webui.app_name
endpoint = module.webui.sdcore_config_endpoint
}
}

# Integrations for `metrics` endpoint

resource "juju_integration" "amf-metrics" {
Expand Down

0 comments on commit cefc24c

Please sign in to comment.