[ENHANCEMENT] Add essential checks on (cluster)flow and (cluster)output #7064
Labels
area/logging
candidate/v1.5.0
kind/enhancement
Issues that improve or augment existing functionality
Milestone
Is your enhancement related to a problem? Please describe.
The mis-matching of (cluster)flow and (cluster)output may cause the logging related pods failed to be deployed.
The resources dangling scenarios:
(1) The (cluster)output is removed but it's referring (cluster)flow is still there
(2) The (cluster)flow is added but it's referring (cluster)output is not existing
Describe the solution you'd like
(1) When create/modify a (cluster)flow, check it's (cluster) flow is existing
(2) When delete a (cluster)output, check it's referring (cluster)flow is gone
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: