Skip to content

Commit

Permalink
feat: remove database integration for AMF (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
dariofaccin authored Aug 28, 2024
1 parent 8c7aa69 commit 9067b8b
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 33 deletions.
6 changes: 3 additions & 3 deletions modules/external/mongodb-k8s/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ module "mongodb-operator" {
Create the integrations, for instance:

```text
resource "juju_integration" "amf-db" {
resource "juju_integration" "nrf-db" {
model = var.model_name
application {
name = module.amf.app_name
endpoint = module.amf.database_endpoint
name = module.nrf.app_name
endpoint = module.nrf.database_endpoint
}
application {
Expand Down
1 change: 0 additions & 1 deletion modules/sdcore-control-plane-k8s/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ amf:metrics-endpoint grafana-agent:metrics-endpoint prometheu
ausf:metrics-endpoint grafana-agent:metrics-endpoint prometheus_scrape regular
grafana-agent:logging-provider mongodb:logging loki_push_api regular
grafana-agent:peers grafana-agent:peers grafana_agent_replica peer
mongodb:database amf:database mongodb_client regular
mongodb:database nms:auth_database mongodb_client regular
mongodb:database nms:common_database mongodb_client regular
mongodb:database nrf:database mongodb_client regular
Expand Down
14 changes: 0 additions & 14 deletions modules/sdcore-control-plane-k8s/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -200,20 +200,6 @@ resource "juju_integration" "ausf-fiveg-nrf" {

# Integrations for `database` endpoint

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

application {
name = module.amf.app_name
endpoint = module.amf.database_endpoint
}

application {
name = module.mongodb.app_name
endpoint = module.mongodb.database_endpoint
}
}

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

Expand Down
1 change: 0 additions & 1 deletion modules/sdcore-k8s/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ amf:metrics-endpoint grafana-agent:metrics-endpoint prometheu
ausf:metrics-endpoint grafana-agent:metrics-endpoint prometheus_scrape regular
grafana-agent:logging-provider mongodb:logging loki_push_api regular
grafana-agent:peers grafana-agent:peers grafana_agent_replica peer
mongodb:database amf:database mongodb_client regular
mongodb:database nms:auth_database mongodb_client regular
mongodb:database nms:common_database mongodb_client regular
mongodb:database nrf:database mongodb_client regular
Expand Down
14 changes: 0 additions & 14 deletions modules/sdcore-k8s/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -207,20 +207,6 @@ resource "juju_integration" "ausf-fiveg-nrf" {

# Integrations for `database` endpoint

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

application {
name = module.amf.app_name
endpoint = module.amf.database_endpoint
}

application {
name = module.mongodb.app_name
endpoint = module.mongodb.database_endpoint
}
}

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

Expand Down

0 comments on commit 9067b8b

Please sign in to comment.