You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When it exists, the URL to the running workload is included in tanzu apps workload get.... output.
However, the URL isn't included in the output if the user runs that command with -o json/yaml.
Proposed solution
show the url that is included in the workload get command i.e. the last line in the output
Given workload A has been created, and a knative service has been successfully created
When I run `tanzu apps workload get A -o json (or yaml)`
Then I can see the URL in the output
But this URL and the pods is not visible when using -o json or -o yaml which is the way we normally consume this command
Alternatives considered
The alternative would be for us to use the k8s API to fetch that information manually, but I think that if this info is already fetched and aggregated by the CLI it would be great if we could use it
Additional context
Ideally we would like to provide users with an agnostic reachable url, independent of knative if that's how their cluster is setup
Not migrated because this will not be addressed by carto v1 and with v2 which supports an infinite number of workload types and it's not clear we'll be able to reliably retrieve a URL if/when it exists.
If we learn this isn't the case for carto v2, we can move this over.
Description of problem
When it exists, the URL to the running workload is included in
tanzu apps workload get....
output.However, the URL isn't included in the output if the user runs that command with
-o json/yaml
.Proposed solution
show the url that is included in the workload get command i.e. the last line in the output
Example
But this URL and the pods is not visible when using
-o json
or-o yaml
which is the way we normally consume this commandAlternatives considered
The alternative would be for us to use the k8s API to fetch that information manually, but I think that if this info is already fetched and aggregated by the CLI it would be great if we could use it
Additional context
Ideally we would like to provide users with an agnostic
reachable
url, independent of knative if that's how their cluster is setuporiginally reported by @suarezjulian
The text was updated successfully, but these errors were encountered: