oc-login
oc-login copied to clipboard
[FEATURE] Make the openshift_server_url input optional
Is your feature request related to a problem? Please describe.
As pointed out in the OpenShift documentation on how to use a service account, see step #2 of the section titled "Using a service account’s credentials externally". The API token generated for service account allows login using only the token, omitting the server url.
Describe the solution you'd like
It would be nice if the input openshift_server_url
of this action was optional.
Describe alternatives you've considered
Alternative is to put the server url, which is more likely to change than the token itself in our use case.