Skip to content

Conversation

@murphp15
Copy link
Contributor

@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 and others added 6 commits July 10, 2023 16:10
Signed-off-by: murphp15 <murphp15@tcd.ie>
Signed-off-by: murphp15 <murphp15@tcd.ie>
Signed-off-by: murphp15 <murphp15@tcd.ie>
Signed-off-by: murphp15 <murphp15@tcd.ie>
@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
Signed-off-by: murphp15 <murphp15@tcd.ie>
@murphp15 murphp15 marked this pull request as ready for review July 10, 2023 19:21
Copy link
Contributor

@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.

5 participants