You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While expanding the e2e test suite to cover #319 I discovered that configuring multiple sync providers causes unexpected behaviour in the kubernetes event listener. flagd's internal state is not being updated to reflect a change in the FeatureFlagConfiguration.
To reproduce this:
Check out the branch in my PR.
Deploy the operator.
Run kubectl -n open-feature-operator-system apply -f ./test/e2e/e2e.yml
Expose the service kubectl -n open-feature-operator-system port-forward service/open-feature-e2e-test-service 30000:30000
Run the test (passes/fails intermittently) ./test/e2e/tests/002.crd-configuration-reconciliation.sh
skyerus
changed the title
Kubernetes event listening exhibits inconsistent behaviour when multiple sync providers are configured
Kubernetes event handling exhibits inconsistent behaviour when multiple sync providers are configured
Jan 27, 2023
While expanding the e2e test suite to cover #319 I discovered that configuring multiple sync providers causes unexpected behaviour in the kubernetes event listener.
flagd
's internal state is not being updated to reflect a change in the FeatureFlagConfiguration.To reproduce this:
kubectl -n open-feature-operator-system apply -f ./test/e2e/e2e.yml
kubectl -n open-feature-operator-system port-forward service/open-feature-e2e-test-service 30000:30000
./test/e2e/tests/002.crd-configuration-reconciliation.sh
Tailing flagd's logs I can see that the event is received, the problem lies somewhere within https://github.com/open-feature/flagd/blob/main/pkg/sync/kubernetes/kubernetes_sync.go#L225
The text was updated successfully, but these errors were encountered: