openshift-evangelists / oc-cluster-wrapper

oc cluster up bash wrapper
Apache License 2.0
144 stars 72 forks source link

Provide a mechanism to login to different clusters with same ip #26

Closed jorgemoralespou closed 7 years ago

jorgemoralespou commented 7 years ago

When creating clusters with the same IP (clsuter_ip) the user will login and save the login information into the user's .oc/kubeconfig file.

We need to implement a mechanism where you save the profile somehow so that when you activate the cluster profile you can safely login as the user, or otherwise you'll get a certificate error.

Maybe implement a new command:

jorgemoralespou commented 7 years ago

This has been implemented. A context is created in the default KUBECONFIG so that every profile as a context named developer@profile.