Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-9123

DO280-449: Wildcard domains are hard to type (and also the ENV vars)

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Minor Minor
    • DO280 - OCP4.5 1 20200825
    • DO280 - OCP 4.2 1 20200123
    • DO280
    • None
    • en-US (English)

      URL:
      Reporter RHNID: obohlen
      Section: -
      Language: en-US (English)
      Workaround:

      Description: Since the wildcard domain is hard to type and also the variable name is too long for a lot of delegates I recommend the following nice alias:

       

      # get route
      alias gr='oc get -o jsonpath="{ .spec.host }" route'
      Usage:
      lynx -dump $( gr hi )
      curl $( gr hi )
      

       

      This will get the hostname of the route called hi and lynx/curl on it.

            rht-miphilli Michael Phillips
            olafbohlen Olaf Bohlen (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: