XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • HyperShift
    • None
    • No

      Value Statement

      Integrate with OpenShift CLI manager so that the HCP CLI binaries can be installed and managed by "oc krew".

       

      We need to add the binary's krew compatible yaml definition as https://github.com/deejross/openshift-krew-index/tree/main/plugins in https://github.com/openshift/krew-index.

      User will install "oc" and "krew" on local machine and define custom krew index via `oc krew add index https://github.com/openshift/krew-index`. Then the HCP CLI binary can be easily installed `oc krew install {binary}`.

      Only critical point that should be managed is versioning. When a new version of the CLI is released, this manifest should also be updated according to this version. After that krew will automatically(or manually by user) update to the latest version easily.
       

      Definition of Done for Engineering Story Owner (Checklist)

      • ...

      Development Complete

      • The code is complete.
      • Functionality is working.
      • Any required downstream Docker file changes are made.

      Tests Automated

      • [ ] Unit/function tests have been automated and incorporated into the
        build.
      • [ ] 100% automated unit/function test coverage for new or changed APIs.

      Secure Design

      • [ ] Security has been assessed and incorporated into your threat model.

      Multidisciplinary Teams Readiness

      Support Readiness

      • [ ] The must-gather script has been updated.

              rokejungrh Roke Jung
              rokejungrh Roke Jung
              David Huynh David Huynh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: