Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-44221

hypershift --help depends on kubeconfig

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.18
    • HyperShift
    • None

      Description of problem:

          $ hypershift  --help
      {"level":"error","ts":"2024-11-05T09:26:54Z","logger":"controller-runtime.client.config","msg":"unable to load in-cluster config","error":"unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must bedefined",
      ...
      ERROR	Failed to get client	{"error": "unable to get kubernetes config: invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable"}

      Version-Release number of selected component (if applicable):

          

      How reproducible:

          100%

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

      Cant run hypershift --help without kubeconfig

      Expected results:

      Can run hypershift --help without kubeconfig

      Additional info:

          

              pstefans@redhat.com Patryk Stefanski
              pstefans@redhat.com Patryk Stefanski
              Feilian Xie Feilian Xie
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: