-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
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
- [ ] Create an informative documentation issue using the [Customer
Portal_doc_issue template](
https://github.com/stolostron/backlog/issues/new?assignees=&labels=squad%3Adoc&template=doc_issue.md&title=),
and ensure doc acceptance criteria is met. Link the development issue to
the doc issue. - [ ] Provide input to the QE team, and ensure QE acceptance criteria
(established between story owner and QE focal) are met.
Support Readiness
- [ ] The must-gather script has been updated.