Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Uniform API: Subscriptions are deleted if distributor reregisters itself with a different integration/distributor version #7047

Closed
bacherfl opened this issue Mar 3, 2022 · 0 comments · Fixed by #7059
Assignees
Labels
type:bug Something is not working as intended/documented

Comments

@bacherfl
Copy link
Member

bacherfl commented Mar 3, 2022

The root cause lies in the following code:

rh.uniformRepo.CreateOrUpdateUniformIntegration(*integration)

here, it is checked if the version of the uniform integration and/or of its distributor has changed in order to update them (see #5517 for more context). However, this overwrites the complete uniform integration and its subscriptions, which explains why the subscriptions were empty after an upgrade of Keptn and/or integration.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type:bug Something is not working as intended/documented
Projects
None yet
1 participant