ClusterHost is an incorrect parameter / term for url creation #2721
Labels
area/devfile-spec
Issues or PRs related to the Devfile specification and how odo handles and interprets it.
kind/feature
Categorizes issue as a feature request. For PRs, that means that the PR is the implementation
Projects
/kind feature
Which functionality do you think we should add?
--clusterHost
should be--host
forodo url create
.Why is this needed?
ClusterHost parameter for url creation is an incorrect parameter term.
The term Cluster Host in kubectl and oc is confusing because Cluster Host actually means Kubernetes / OpenShift "host".
It is confusing because we are specifying a domain name for url creation.. ex:
odo url create --clusterHost example.domain.com
We should be using the correct term which would actually be
host
, which is exactly what OpenShift uses in the yaml creation for Route.For example, the current code that is implemented looks like this:
The text was updated successfully, but these errors were encountered: