Develop a otp CLI to setup hub clusters, handle configurations and bootstrap the cluster.
Usage 1: Interactive prompting
$ otp setup hub-cluster
Setup hub cluster...
> Create new repositories from templates? (Yn) Y
> What's your IBM Entitlement Key? ey...
[more text and logging here]
Usage 2: Command-line
$ otp setup hub-cluster --ibm-entitlement-key ey... --revision example --org mcm...
The CLI should save configurations into a config file in the same folder as when the otp command is run so they can be checked into a repo, with the exception of any secrets.
Develop a
otp
CLI to setup hub clusters, handle configurations and bootstrap the cluster.Usage 1: Interactive prompting
Usage 2: Command-line
The CLI should save configurations into a
config
file in the same folder as when theotp
command is run so they can be checked into a repo, with the exception of any secrets.