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

vdk-server: url in swagger ui is correct #2380

Merged
merged 16 commits into from
Jul 11, 2023

Conversation

murphp15
Copy link
Collaborator

@murphp15 murphp15 commented Jul 10, 2023

Why

When using quickstart VDK the swagger endpoint thinks that the base url should be http://localhost when infact it should be http://localhost:8092.
The reason it gets confused is because we map the kind cluster port 80 to 8092 on the local machine.

What

The only fix available to us is to hard code the url in the quickstart vdk installer class.

How was this tested

In a previous commit I release and image and tested quickstart vdk locally with the change

@murphp15 murphp15 force-pushed the person/murphp15/support_url_configuration branch from 97cdd4f to cc90600 Compare July 10, 2023 15:11
@murphp15 murphp15 changed the title [DRAFT] Person/murphp15/support url configuration vdk-server: url in swagger ui is correct Jul 10, 2023
@murphp15 murphp15 marked this pull request as ready for review July 10, 2023 19:21
Copy link
Collaborator

@antoniivanov antoniivanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks good. I left general recommenation comment which you can ignore for this change if you want.

@murphp15 murphp15 enabled auto-merge (squash) July 11, 2023 11:08
@murphp15 murphp15 merged commit 520070e into main Jul 11, 2023
@murphp15 murphp15 deleted the person/murphp15/support_url_configuration branch July 11, 2023 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants