Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
btison opened this issue Jul 21, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@btison
Copy link

btison commented Jul 21, 2022

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

@btison btison added the bug Something isn't working label Jul 21, 2022
@wtrocki
Copy link
Collaborator

wtrocki commented Jul 21, 2022

What is the rhoas cluster status output.

We require "latest" version of the operator to get mas-sso url removed:

Release https://github.com/redhat-developer/app-services-operator/releases/tag/0.9.7

@btison
Copy link
Author

btison commented Jul 21, 2022

Ok, that's probably the problem. My RHOAS operator is on version 0.9.6, but that seems to be the most recent version available on OpenShift at the moment it seems.

@wtrocki
Copy link
Collaborator

wtrocki commented Jul 21, 2022

Ok. I will need to verify and release it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants