Open
Description
Description
Version:
0.46.1
When connecting a service registry instance to an OpenShift namespace using rhoas cluster connect
, the resulting ServiceRegistryConnection CR uses an incorrect URL for the oauthTokenUrl
Steps to reproduce
- connect a service registry instance to an OpenShift namespace
$ rhoas cluster connect -n user1-globex --service-type=service-registry --service-name=globex -y
- inspect the generated
ServiceRegistryConnection
CR
Expected vs actual behaviour
Expected: in the ServiceRegistryConnection
CR the value of the status.metadata.oauthTokenUrl
is set to https://sso.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token
Actual: in the ServiceRegistryConnection
CR the value of the status.metadata.oauthTokenUrl
is set to https://identity.api.openshift.com/auth/realms/rhoas/protocol/openid-connect/token