Skip to content

fix: proxy base url for frontend#4

Closed
dembygenesis wants to merge 3 commits intomainfrom
fix/proxy-base-url
Closed

fix: proxy base url for frontend#4
dembygenesis wants to merge 3 commits intomainfrom
fix/proxy-base-url

Conversation

@dembygenesis
Copy link
Copy Markdown
Contributor

Changes:

  • fixed frontend BASE_URL config map env var to point to the correct backend cluster IP

Comment thread deploy/resources/deployments.yaml
Comment thread deploy/resources/services.yaml Outdated
targetPort: 80
selector:
run: backend-app
run: backend-appa
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Typo here. I would also use the conventional app: backend-app selector and change line 14 in deployments.yaml as well to use app instead of run. Same for frontend.

Also, the selectors in deployment.yaml are not needed as they are used to match on which nodes the pods are scheduled to, not relevant for this use case as all nodes are equal. Missed that in the previous review.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I see, should I ignore this ?
image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The IDE and you are correct, nowadays it should be there. 👍

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants