-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mock rework for concurrent usage, remove entity ID annotations, reque…
…ue after incrementHumioClusterPodRevision and refactor podReadyCountByRevision (#843) * Improve mock for concurrent usage and remove entity ID annotation * look up searchdomain instead view during entity creation * skip status update if we got error when fetching version * add logging * Requeue after incrementHumioClusterPodRevision and refactor podReadyCountByRevision Requeue after incrementHumioClusterPodRevision fixes a bug where the operator could in some cases create a new pod using the old revision as it did not fetch the updated HumioCluster resource before creating new pods. Refactor podReadyCountByRevision to extract the logic for what pods to should be marked as running and ensures we update only the pods that match the expected pod revision as running, as any older pod revisions should already be handled during previous iterations. * fix staticcheck * fix function name for validating searchdomain in mock for aggregate alerts
- Loading branch information
1 parent
8eefe92
commit 4eb7b82
Showing
34 changed files
with
1,100 additions
and
934 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.