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

Handle remove receivergroups #146

Open
pepov opened this issue Sep 2, 2021 · 0 comments
Open

Handle remove receivergroups #146

pepov opened this issue Sep 2, 2021 · 0 comments
Assignees
Labels

Comments

@pepov
Copy link
Contributor

pepov commented Sep 2, 2021

Describe the bug
Resources for receiverGroups are currently not removed when a receiverGroup is removed from the CR. This is becase the receiverGroup is an array and some extra logic would be required to detect and delete resources for groups that are not available anymore in the configuration.

Steps to reproduce the issue:
Create a receiver with two groups, like in the example:
config/samples/monitoring_v1alpha1_receiver.yaml

Expected behavior
The resources that belong to the group are removed.

Additional context
A potential solution would be to use the component reconciler from operator-tools with the receiver as the parent object.

@pepov pepov self-assigned this Sep 2, 2021
@pepov pepov added the receiver label Sep 2, 2021
@siliconbrain siliconbrain self-assigned this Nov 19, 2021
@pepov pepov removed their assignment May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants