Command line utility to help with day to day tasks when working with
OCM (OpenShift Cluster Manager).
Install
You can install/run ocm-toolbox
by any of the following methods:
- Go install
go install github.com/ryankwilliams/ocm-toolbox@main
- Container image
podman run ghcr.io/ryankwilliams/ocm-toolbox:main --help
- Build binary
make build
./out/ocm-toolbox
Usage
Different sub-commands exist within ocm-toolbox
. Each sub-command will
have different options and a help menu.
ocm-toolbox --help
Examples
- List cluster details
ocm-toolbox cluster-details
- Get cluster credentials
ocm-toolbox cluster-credentials --cluster-id <CLUSTER_ID>
- Update cluster expiration timestamp
ocm-toolbox set-cluster-expiration --cluster-id <CLUSTER_ID> \
--duration 60