juju / python-libjuju

Python library for the Juju API
Apache License 2.0
59 stars 99 forks source link

[feature_request] get application public address #917

Open gboutry opened 1 year ago

gboutry commented 1 year ago

Hi, is there an easier way of getting an application public address in pylibjuju than:

model = await controller.get_model("openstack")
app_status = await model.get_status(filters=["vault"])
app_status.applications["vault"].public_address

Seems like only Unit has get_public_address method, not Application.

Something along the lines would be great:

await model.applications["vault"].get_public_address()

The application being a K8S charm, I'm interested the SVC address, and not the POD address.

cderici commented 1 year ago

Is this on 2.9? @gboutry

gboutry commented 1 year ago

No, that's on 3.2

github-actions[bot] commented 1 month ago

This issue is marked as incomplete because it has been open 30 days with no activity. Please remove incomplete label or comment or this will be closed in 5 days.

github-actions[bot] commented 1 month ago

This issue was closed because it has been stalled for 5 days with no activity.

hmlanigan commented 3 weeks ago

Closed prematurely by the bot.