Open clcollins opened 2 months ago
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: clcollins
The full list of commands accepted by this bot can be found here.
The pull request process is described here
I have been thinking about this one. I think replicating the flags ocm backplane login uses is a good idea so we can just pass them to backplane. Adding extra flags seems like something we should do in backplane so we aren't doing things differently and we can share idea across the teams. Other thoughts: does backplane have anything we can use to work out which flags are mutually exclusive so we don't need to keep our own copy of those?
The new --ohss and existing --pd flags would also be good to replicate. https://source.redhat.com/groups/public/sre/wiki/setup_backplane_cli#isPasted4
Kirk's changes in #295 will also help with the OCM logins.
PR needs rebase.
Add management/service/hive & namespace login flags
--manager
and--service
flags to allow logging into MC/Hive and SC clusters for a provided--cluster-id
.--namespace
flag to override the default NS on whatever cluster is being logged intoExample ENVs logging into a classic cluster (or it's hive):
And example for HPC:
And extra vars that might be helpful, for any cluster:
Fixes #271 Fixes #270
WIP - TODO:
--manager
,--service
or--namespace
are provided.Signed-off-by: Chris Collins collins.christopher@gmail.com