Closed Kavindu-Dodan closed 5 months ago
Name | Link |
---|---|
Latest commit | 32abe8cd5de3a87155e2e5d88b2a8a5466269d9d |
Latest deploy log | https://app.netlify.com/sites/polite-licorice-3db33c/deploys/6660df611aca5700087c594a |
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 78.74%. Comparing base (
1c530ab
) to head (32abe8c
). Report is 66 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR
This change address https://github.com/open-feature/open-feature-operator/issues/664.
Background
We allow using multiple flag source CRDs when using flagd-proxy with OFO. Internally, this converts to flagd using gRPC syncs with scopes, where scopes specify the CRD names that need to source flags from.
Bug
We had two bugs, first gRPC resyncs never contained
scope
. This is why we observedunable to build sync from URI for target
message. Secondly, we triggered resyncs only considering source equility. This is not valid with flagd-proxy as we always go through the proxy for any CRD.Fix
Fix here adds scope to gRPC resyncs and considers both source and selector equality when triggering a resync
How to validate the fix
Use this image with OFO sidecar image override
helm upgrade --install openfeature openfeature/open-feature-operator --set sidecarConfiguration.image.tag=1,sidecarConfiguration.image.repository=kavindudodanduwa/flagd