-
Notifications
You must be signed in to change notification settings - Fork 819
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: support additional services for blue-green. fixes #451 #2603
base: master
Are you sure you want to change the base?
Conversation
7a138a8
to
471e40d
Compare
Kudos, SonarCloud Quality Gate passed!
|
Would it make sense to add activeServices/previewServices, and just make them mutually exclusive? |
If I understand your suggestion correctly, I don't think so. My original use case was I had two There are more use cases reported in #451. The problem with just using a list is it's not explicit which |
@d3adb5 Sorry, i realize re-reading it that I wasn't clear there. I didn't mean to make them mutually exclusive to each other (i know you need active and preview). As far as source of truth, i would make the first in the list the SoT, and document that. |
This PR is stale because it has been open 90 days with no activity. |
I realize it's been a while since I touched this PR. Life's been busy, now there are even merge conflicts. I'll get to it sooner or later.
My goal with the |
Add support for additional preview and active services for the BlueGreen strategy. Signed-off-by: d3adb5 <me@d3adb5.net>
Kudos, SonarCloud Quality Gate passed!
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #2603 +/- ##
==========================================
- Coverage 81.68% 81.61% -0.07%
==========================================
Files 133 133
Lines 20178 20211 +33
==========================================
+ Hits 16483 16496 +13
- Misses 2843 2857 +14
- Partials 852 858 +6
☔ View full report in Codecov by Sentry. |
This PR is stale because it has been open 90 days with no activity. |
Add support for additional preview and active services for the BlueGreen
strategy.
Checklist:
"fix(controller): Updates such and such. Fixes #1234"
.This is my first contribution to Argo Rollouts, and I feel like #451 isn't
really closed if this doesn't encompass the Canary strategy. I want to work on
it, but first I wanted to write E2E tests for this feature. I'm rather new to
Go, so I'm not sure if I'm doing this right. Still combing through the available
tests to see if I can find a good example to follow.
Support for multiple services is added as a couple new optional fields called
additionalPreviewServices
andadditionalActiveServices
. When populated withservice names, these lists will cause the services in them to be updated as
though they were the preview service or the active service.
Help with this would be much appreciated.