Skip to content

Commit

Permalink
feat: remove database integration for AMF (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
dariofaccin authored Jun 12, 2024
1 parent fff7cdf commit 6250de3
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 @@ -146,7 +146,6 @@ Integration provider Requirer Interface
amf: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 nrf:database mongodb_client regular
mongodb:database smf:database mongodb_client regular
mongodb:database udr: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 @@ -206,20 +206,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 @@ -149,7 +149,6 @@ Integration provider Requirer Interface
amf: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 nrf:database mongodb_client regular
mongodb:database smf:database mongodb_client regular
mongodb:database udr: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 @@ -213,20 +213,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 6250de3

Please sign in to comment.