Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove database integration for AMF #54

Merged
merged 4 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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