vmware-tanzu / apps-cli-plugin

Apps Plugin for the Tanzu CLI
Apache License 2.0
18 stars 16 forks source link

URL displayed in workload get output doesn't depend directly on any given runtime #47

Open heyjcollins opened 2 years ago

heyjcollins commented 2 years ago

Description of problem

Currently, the apps plugin gets the URL for a given workload directly from the knative service. This implementation is brittle (if/when a workload has been deployed to a runtime other than kn, even if a publicly addressable route has been configured, there will be no URL displayed in workload get output).

Proposed solution

Given my workload is running, but not as a knative service and the workload has been configured to respond to public http requests (has an addressable URL)
When I run `tanzu apps workload get` for the workload
Then the publicly addressable URL is included in the command output

Example

<Code snippets that illustrate the when/then blocks>

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

heyjcollins commented 11 months ago

Not migrated because this will not be addressed in carto v1 and it's not clear how this will be addressed in v2