Skip to content

Commit

Permalink
drop public-url config option
Browse files Browse the repository at this point in the history
  • Loading branch information
rgildein committed Jul 30, 2024
1 parent 73289d9 commit 6dd4efb
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions tests/test_bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,13 +263,15 @@ async def test_enable_ingress_auth(ops_test: OpsTest):
OIDC_GATEKEEPER,
channel=OIDC_GATEKEEPER_CHANNEL,
trust=OIDC_GATEKEEPER_TRUST,
config={"public-url": regular_ingress_gateway_ip},
)

await ops_test.model.add_relation(f"{ISTIO_PILOT}:ingress", f"{DEX_AUTH}:ingress")
await ops_test.model.add_relation(f"{ISTIO_PILOT}:ingress", f"{OIDC_GATEKEEPER}:ingress")
await ops_test.model.add_relation(f"{OIDC_GATEKEEPER}:oidc-client", f"{DEX_AUTH}:oidc-client")
await ops_test.model.add_relation(
await ops_test.model.integrate(f"{ISTIO_PILOT}:ingress", f"{DEX_AUTH}:ingress")
await ops_test.model.integrate(f"{ISTIO_PILOT}:ingress", f"{OIDC_GATEKEEPER}:ingress")
await ops_test.model.integrate(f"{OIDC_GATEKEEPER}:oidc-client", f"{DEX_AUTH}:oidc-client")
await ops_test.model.integrate(
f"{OIDC_GATEKEEPER}:dex-oidc-config", f"{DEX_AUTH}:dex-oidc-config"
)
await ops_test.model.integrate(
f"{ISTIO_PILOT}:ingress-auth", f"{OIDC_GATEKEEPER}:ingress-auth"
)

Expand Down

0 comments on commit 6dd4efb

Please sign in to comment.