-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use [email protected] in TF modules (#422)
- Loading branch information
1 parent
8b0643f
commit 8513a9c
Showing
3 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,12 @@ variable "revision" { | |
default = null | ||
} | ||
|
||
variable "base" { | ||
description = "The operating system on which to deploy" | ||
type = string | ||
default = "[email protected]" | ||
} | ||
|
||
variable "units" { | ||
description = "Number of units to deploy" | ||
type = number | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,7 @@ | |
UPF_CHARM_NAME = "sdcore-upf-k8s" | ||
UPF_CHARM_CHANNEL = "1.5/edge" | ||
UPF_RELATION_NAME = "fiveg_n4" | ||
SDCORE_CHARMS_SERIES = "noble" | ||
TLS_PROVIDER_CHARM_NAME = "self-signed-certificates" | ||
TLS_PROVIDER_CHARM_CHANNEL = "latest/stable" | ||
TRAEFIK_CHARM_NAME = "traefik-k8s" | ||
|
@@ -105,6 +106,7 @@ async def _deploy_sdcore_upf(ops_test: OpsTest): | |
UPF_CHARM_NAME, | ||
application_name=UPF_CHARM_NAME, | ||
channel=UPF_CHARM_CHANNEL, | ||
series=SDCORE_CHARMS_SERIES, # TODO: This should be replaced with base="[email protected]" once it's properly supported # noqa: E501 | ||
trust=True, | ||
) | ||
|
||
|
@@ -115,6 +117,7 @@ async def _deploy_nrf(ops_test: OpsTest): | |
NRF_CHARM_NAME, | ||
application_name=NRF_CHARM_NAME, | ||
channel=NRF_CHARM_CHANNEL, | ||
series=SDCORE_CHARMS_SERIES, # TODO: This should be replaced with base="[email protected]" once it's properly supported # noqa: E501 | ||
) | ||
await ops_test.model.integrate( | ||
relation1=f"{NRF_CHARM_NAME}:database", relation2=f"{DATABASE_APP_NAME}" | ||
|
@@ -128,6 +131,7 @@ async def _deploy_sdcore_gnbsim(ops_test: OpsTest): | |
GNBSIM_CHARM_NAME, | ||
application_name=GNBSIM_CHARM_NAME, | ||
channel=GNBSIM_CHARM_CHANNEL, | ||
series=SDCORE_CHARMS_SERIES, # TODO: This should be replaced with base="[email protected]" once it's properly supported # noqa: E501 | ||
trust=True, | ||
) | ||
|
||
|
@@ -147,6 +151,7 @@ async def _deploy_amf(ops_test: OpsTest): | |
AMF_CHARM_NAME, | ||
application_name=AMF_CHARM_NAME, | ||
channel=AMF_CHARM_CHANNEL, | ||
series=SDCORE_CHARMS_SERIES, # TODO: This should be replaced with base="[email protected]" once it's properly supported # noqa: E501 | ||
trust=True, | ||
) | ||
await ops_test.model.integrate(relation1=AMF_CHARM_NAME, relation2=NRF_CHARM_NAME) | ||
|