Skip to content

"$ rhoas cluster connect --service-type service-registry": oauthTokenUrl is not correct  #1669

Description

@btison

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

Logs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions