-
Notifications
You must be signed in to change notification settings - Fork 867
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
feat: allow analysis run to use separate kubeconfig for jobs #3350
Conversation
Signed-off-by: Soumya Ghosh Dastidar <[email protected]>
Go Published Test Results2 130 tests 2 130 ✅ 2m 50s ⏱️ Results for commit 96b2c37. ♻️ This comment has been updated with latest results. |
Signed-off-by: Soumya Ghosh Dastidar <[email protected]>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #3350 +/- ##
==========================================
+ Coverage 81.83% 82.92% +1.08%
==========================================
Files 135 135
Lines 20688 16904 -3784
==========================================
- Hits 16931 14017 -2914
+ Misses 2883 2010 -873
- Partials 874 877 +3 ☔ View full report in Codecov by Sentry. |
E2E Tests Published Test Results 4 files 4 suites 3h 39m 13s ⏱️ For more details on these failures, see this check. Results for commit 96b2c37. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did a careful review of this one and could not find anything. This LGTM!
@zachaller did you want a chance to review this before merging? FWIW, we have also done manual, end-to-end testing of the feature. |
I will take deeper look tomorrow, however one of my first thoughts is consistency with ENV var naming. Due to past conventions both plugins and various metric providers use |
Would you prefer |
Thanks @zachaller, that's a great call out. I agree the ARGO_ROLLOUTS_ prefix is an important convention to keep. So despite the long name, let's use that. |
Signed-off-by: Soumya Ghosh Dastidar <[email protected]>
Updated env names |
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes #3337
This PR :
ARGO_ROLLOUTS_ANALYSIS_JOB_KUBECONFIG
to specify custom k8s config for running analysis jobs.ARGO_ROLLOUTS_ANALYSIS_JOB_NAMESPACE
to specify a different namespace from the analysis run to execute the job.NOTE:
Setting custom
ARGO_ROLLOUTS_ANALYSIS_JOB_NAMESPACE
andARGO_ROLLOUTS_ANALYSIS_JOB_KUBECONFIG
will prevent automatic GC of jobs when analysis runs are deleted.Checklist:
"fix(controller): Updates such and such. Fixes #1234"
.