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

[enterprise-4.14] Issue in file operators/operator_sdk/golang/osdk-golang-tutorial.adoc

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Low
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Operator SDK Pre-requisite not matching CLI requirement

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

          

      How reproducible:

      Try to use the operator-sdk init command

      Steps to Reproduce:

          1. Install go 1.19+ (I used 1.22 and 1.19 and both result in the same issue
          2. Run the operator-sdk init command
       

      Actual results:

          FATA[0000] failed to initialize project: unable to run pre-scaffold tasks of "base.go.kubebuilder.io/v3": go version 'go1.19.13' is incompatible because 'requires 1.13 <= version < 1.17'. You can skip this check using the --skip-go-version-check flag

      Expected results:

      Expected the command to proceed or have an error unrelated to the golang version    

      Additional info:

          

              rhn-support-mipeter Michael Peter
              tyler.stanczak-ibm Tyler Stanczak (Inactive)
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: