Feature Overview
The policy generator is a Kustomize plugin that is embedded in the subscription container of RHACM but can be run locally. For debugging, users need to be able to get the same version of the binary as the one in the subscription container.
Goals
- Provide a download link in the console for the policy generator when ACM is installed
- (stretch/optional?--this might be a prereq, not sure) Release RHACM-versioned generator binaries for users to download to use locally outside of the console link
Requirements
This Section: A list of specific needs or objectives that a Feature must
deliver to satisfy the Feature.. Some requirements will be flagged as MVP.
If an MVP gets shifted, the feature shifts. If a non MVP requirement slips,
it does not shift the feature.
Requirement | Notes | isMvp? |
---|---|---|
CI - MUST be running successfully with test automation | This is a requirement for ALL features. |
YES |
Release Technical Enablement | Provide necessary release enablement details and documents. |
YES |
References
This issue spawned from discussions in ACM-8945. This is the most relevant comment (and likely the path forward):
It would be some development effort, but I would think the best outcome would ultimately be to run a small image like the console downloader does to make oc cli available through the console using https://docs.openshift.com/container-platform/4.14/web_console/customizing-the-web-console.html#creating-custom-CLI-downloads_customizing-web-console. This is what OpenShift GitOps does with the kam tool.
Here's a workaround policy containing some of the bits that might be required: https://github.com/open-cluster-management-io/policy-collection/tree/main/policygenerator/policy-sets/community/policygenerator-download