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

fix(local-mode): fixed some bugs in local mode config #3311

Merged
merged 2 commits into from
Oct 19, 2022

Conversation

vvagaytsev
Copy link
Collaborator

What this PR does / why we need it:
This PR fixes some issues with a reverse proxy container startup in local mode. See the individual commits for details.

Which issue(s) this PR fixes:

Fixes #3284

Special notes for your reviewer:

* Always erase original container's command - it might not be recognized by a proxy container
* Always delete startup probe to avoid potential timeout issues
* Always overwrite env variables and erase envFrom of a proxy container - credentials and another service-level env vars are not necessary to set up a reverse proxy
* Always erase all mounted devices and volumes in a proxy container
Duplicate servicePorts are not allowed.
Copy link
Contributor

@Orzelius Orzelius left a comment

Choose a reason for hiding this comment

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

good work

@vvagaytsev vvagaytsev merged commit ee97935 into main Oct 19, 2022
@vvagaytsev vvagaytsev deleted the fix/local-mode-configs branch October 19, 2022 13:57
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.

localMode with kubernetes module: always override some spec fields
2 participants