Skip to content
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

Clear subscription status in JetStream reconciler #13394

Merged
merged 2 commits into from Feb 16, 2022

Conversation

pxsalehi
Copy link
Contributor

@pxsalehi pxsalehi commented Feb 15, 2022

Description

While testing #13316, I found out that the "empty" JetStream reconciler (done in #13251) should at lease make sure subscription status is cleared, as otherwise, during an upgrade with feature flag enabled, the subscription would still be reported as ready.

Marking the subscription as not ready makes the tests fail quicker, and it is clear why the test fails (i.e. the subscription is not ready).

@pxsalehi pxsalehi added the area/eventing Issues or PRs related to eventing label Feb 15, 2022
@pxsalehi pxsalehi requested a review from a user February 15, 2022 13:02
@kyma-bot kyma-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Feb 15, 2022
@pxsalehi
Copy link
Contributor Author

/test pre-main-kyma-gardener-gcp-eventing
/test pre-main-kyma-integration-k3d

@@ -42,19 +42,32 @@ func main() {
// Set controller core logger.
ctrl.SetLogger(zapr.NewLogger(ctrLogger.WithContext().Desugar()))

// Add schemes.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes in this file are just to add the AddToScheme call for JetStream within the same if.

@pxsalehi
Copy link
Contributor Author

/test pre-main-kyma-integration-k3d
/test pre-main-kyma-gardener-azure-alpha-prod
/test pre-main-kyma-gardener-gcp-eventing

@pxsalehi
Copy link
Contributor Author

/test pre-main-kyma-gardener-gcp-eventing-upgrade

@kyma-bot kyma-bot added the lgtm Looks good to me! label Feb 16, 2022
@kyma-bot kyma-bot merged commit 3480e65 into kyma-project:main Feb 16, 2022
@pxsalehi pxsalehi deleted the ps-js-rm-status branch February 16, 2022 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/eventing Issues or PRs related to eventing lgtm Looks good to me! size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants