-
Notifications
You must be signed in to change notification settings - Fork 38
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: add flagd-proxy HA configuration #712
feat: add flagd-proxy HA configuration #712
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #712 +/- ##
==========================================
- Coverage 86.51% 86.25% -0.26%
==========================================
Files 19 19
Lines 1587 1681 +94
==========================================
+ Hits 1373 1450 +77
- Misses 173 184 +11
- Partials 41 47 +6
... and 1 file with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
Thanks for the PR! I'll look into the image scanning CI issue, which is unrelated to this change. |
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.
Thank you @xvzf for the PR with some extra refactoring 🙌
I left only some minor comments. In particular, I am not 100% sure if we should retry continuously to reconcile on an unmanaged OFO resource or we should skip it. What's your opinion here?
Hey @xvzf, could you please resolve any open threads that have been resolved? I'll rereview once you're ready. The change looks great so far. Thanks! |
Signed-off-by: Matthias Riegler <[email protected]>
Signed-off-by: Matthias Riegler <[email protected]>
Signed-off-by: Matthias Riegler <[email protected]>
Signed-off-by: Matthias Riegler <[email protected]>
Signed-off-by: Matthias Riegler <[email protected]>
b1eb7e0
to
b2d5090
Compare
Signed-off-by: Matthias Riegler <[email protected]>
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.
Thanks a lot for the contribution @xvzf 🙌
The change is now live in v0.8.0. Thanks @xvzf! |
Thanks for the swift release @beeme1mr! |
Labels: map[string]string{ | ||
common.ManagedByAnnotationKey: common.ManagedByAnnotationValue, | ||
}, |
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 just noticed when upgrading to open-feature-operator 0.8.0 that previous older flagdProxy resources that already existed did not have this label - and therefore ran in to the 'not managed by OFO' in the ensureFlagdProxyResource method.
It was an easy workaround to manually add this label to the older resources but worth mentioning
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.
The previous resources did seem to have the common.ManagedByAnnotationKey: common.ManagedByAnnotationValue,
in the Selector though
Yes, gonna have a look this morning! |
This PR
Related Issues
Fixes #609
Notes
Follow-up Tasks
How to test
Deploy with e.g.
FLAGD_PROXY_REPLICA_COUNT=3