-
Notifications
You must be signed in to change notification settings - Fork 670
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
keep EnvFrom from pod template #5423
keep EnvFrom from pod template #5423
Conversation
not complete nor tested, just as hint for potential fix for regression in flyteorg#4969
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5423 +/- ##
==========================================
+ Coverage 61.00% 62.16% +1.16%
==========================================
Files 794 381 -413
Lines 51442 23362 -28080
==========================================
- Hits 31380 14524 -16856
+ Misses 17168 7492 -9676
+ Partials 2894 1346 -1548
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
working on this now. Will update the PR with tests. |
Signed-off-by: Eduardo Apolinario <[email protected]>
…late Signed-off-by: Eduardo Apolinario <[email protected]>
Signed-off-by: Eduardo Apolinario <[email protected]>
I validated that this works in a real Flyte deployment (both configmap and secrets are injected as env vars into the task pods). |
Thanks @eapolinario ! |
* keep EnvFrom from pod template not complete nor tested, just as hint for potential fix for regression in flyteorg#4969 * Add test and fix build error Signed-off-by: Eduardo Apolinario <[email protected]> * Fix test Signed-off-by: Eduardo Apolinario <[email protected]> --------- Signed-off-by: Eduardo Apolinario <[email protected]> Co-authored-by: Eduardo Apolinario <[email protected]>
* keep EnvFrom from pod template not complete nor tested, just as hint for potential fix for regression in flyteorg#4969 * Add test and fix build error Signed-off-by: Eduardo Apolinario <[email protected]> * Fix test Signed-off-by: Eduardo Apolinario <[email protected]> --------- Signed-off-by: Eduardo Apolinario <[email protected]> Co-authored-by: Eduardo Apolinario <[email protected]> Signed-off-by: Vladyslav Libov <[email protected]>
not complete nor tested, just as hint for potential fix for regression in #4969
Tracking issue
#5422
Why are the changes needed?
fix regression
What changes were proposed in this pull request?
Try to keep the envFrom provided e.g. via pod template and just add the default-env-from-secrets instead of overwriting them.
How was this patch tested?
incomplete not tested yet
Setup process
Screenshots
Check all the applicable boxes
Related PRs
Docs link