Skip to content

Collection of binaries for managing ACM

License

Notifications You must be signed in to change notification settings

stolostron/acm-cli

Repository files navigation

acm-cli

Collection of binaries for managing Red Hat Advanced Cluster Management for Kubernetes (RHACM), delivered through a container image containing a Golang web server for the files to be readily downloadable. These binaries are available (expand each description for details):

  • Policy toolset

    A toolset to help manage RHACM policies.
    • Code repository: https://github.com/stolostron/policy-cli
    • Files available:
      darwin-amd64-policytools.tar.gz
      darwin-arm64-policytools.tar.gz
      linux-amd64-policytools.tar.gz
      linux-arm64-policytools.tar.gz
      windows-amd64-policytools.zip
      windows-arm64-policytools.zip
      
  • Policy generator

    Kustomize plugin binary to generate RHACM policies from Kubernetes manifests.
    • Code repository: https://github.com/stolostron/policy-generator-plugin
    • Files available:
      darwin-amd64-PolicyGenerator.tar.gz
      darwin-arm64-PolicyGenerator.tar.gz
      linux-amd64-PolicyGenerator.tar.gz
      linux-arm64-PolicyGenerator.tar.gz
      windows-amd64-PolicyGenerator.zip
      windows-arm64-PolicyGenerator.zip
      

Build the image locally

make build-image

Deploying the image

To deploy to any Kubernetes cluster, serving over a NodePort over HTTP:

make deploy

To deploy to an Openshift cluster with end-to-end encryption and Openshift manifests including a ConsoleCLIDownload to display downloads in the console:

make deploy-openshift

Testing the image

The e2e-test target deploys to a Kind cluster and verifies the files being served against test/cli_list.html:

make e2e-test