Skip to content

Commit

Permalink
feat: add tls integration for nms charm
Browse files Browse the repository at this point in the history
  • Loading branch information
patriciareinoso committed Nov 6, 2024
1 parent f8eacba commit c6c25df
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions modules/sdcore-control-plane-k8s/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,20 @@ resource "juju_integration" "udr-certificates" {
}
}

resource "juju_integration" "nms-certificates" {
model = data.juju_model.sdcore.name

application {
name = module.nms.app_name
endpoint = module.nms.requires.certificates
}

application {
name = module.self-signed-certificates.app_name
endpoint = module.self-signed-certificates.certificates_endpoint
}
}

# Integrations for `ingress` endpoint

resource "juju_integration" "nms-ingress" {
Expand Down
14 changes: 14 additions & 0 deletions modules/sdcore-k8s/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,20 @@ resource "juju_integration" "udr-certificates" {
}
}

resource "juju_integration" "nms-certificates" {
model = data.juju_model.sdcore.name

application {
name = module.nms.app_name
endpoint = module.nms.requires.certificates
}

application {
name = module.self-signed-certificates.app_name
endpoint = module.self-signed-certificates.certificates_endpoint
}
}

# Integrations for `ingress` endpoint

resource "juju_integration" "nms-ingress" {
Expand Down

0 comments on commit c6c25df

Please sign in to comment.