-
Notifications
You must be signed in to change notification settings - Fork 27
feat: improve helm and kubeconfig packages #606
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
Open
juev
wants to merge
54
commits into
main
Choose a base branch
from
fix/kube-config
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 53 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
32f0c69
fix: enhance handleBatchConfigEvent to include module state changes
32c1f58
fix: add mutex locks to ensure thread-safe access to module configura…
50ccda6
fix: ensure initialization of checksums map in Add, Remove, and Set m…
eed8a44
fix: log YAML marshal errors in mergeValues and return actual error i…
3a1e888
fix: ensure timer is stopped and handle errors gracefully in Start me…
afb3608
fix: replace log with logger interface for consistent logging in helm…
fcbde60
fix: improve label handling and error management in LibClient methods
2755a8d
fix: enhance label handling in PostRenderer by using maps.Copy for ex…
4310508
fix: remove unnecessary locking in handleConfigEvent for module updates
6bcd546
fix: ensure proper locking in handleBatchConfigEvent for safe config …
e5b5d4c
fix: update driver name in upgradeRelease and simplify rollbackLatest…
b67cb26
fix: remove redundant comment in listResources function for clarity
3b2e0df
fix: remove unnecessary comments in ResourcesMonitor for cleaner code
969cc3b
fix: ensure proper locking in handleBatchConfigEvent for safe config …
f93857d
refactor: extract ensureName method for better code clarity in Checksums
32dccc4
fix: skip entries with empty keys in parseSetValues for improved data…
2614e35
fix: ensure proper locking in handleConfigEvent for safe access to cu…
297fa32
fix: correct typo in debug log message for Helm resource manager
69f37cb
fix: trim whitespace from values in parseSetValues for improved data …
b323cad
fix: explicitly stop timer in Start method before goroutine exit
363fd84
fix: improve locking mechanism in handleConfigEvent for safe event em…
1191816
fix: reduce contention by loading module config outside the lock in U…
17d235a
fix: ensure proper unlocking in WithDefaultNamespace method
609d681
fix: remove redundant comment for logger in helmResourcesManager struct
a3b68ad
fix: simplify event emission in handleConfigEvent method
5b851d9
fix: improve event handling and locking in KubeConfigManager
26b333d
fix: enhance documentation for parseSetValues function
a942926
fix: improve locking mechanism and event handling in handleBatchConfi…
180a6f4
fix: refactor event handling in handleBatchConfigEvent method
9354a5d
fix: remove redundant comment about timer stop in Start method
3c1b1a3
fix: improve locking mechanism by replacing Mutex with RWMutex in Kub…
a0b61cf
feat: implement event handling methods for KubeConfigManager
066f810
fix: update currentConfig handling in KubeConfigManager methods
7da6acc
fix: rename mutex variable for clarity in helmResourcesManager
849e88f
fix: simplify module maintenance state updates using maps.Copy in han…
77f461b
fix: ensure thread-safety in Checksums methods by adding mutex locks
9d84041
fix: add mutex lock notes for thread safety in config handling methods
ab0e65f
fix: rename mutex variable for clarity in KubeConfigManager
80d22ba
test: add unit tests for parseSetValues function
e4d36c2
fix: add nil check for extraLabels before copying in PostRenderer
3b9fc20
fix: update comment in Copy method to English for clarity
e5945c9
fix: update lock note in handleGlobalConfig method for accuracy
124bae7
fix: update lock note in isGlobalChanged method for accuracy
131b533
fix: update comments in UpdateModuleConfig method for clarity
6cf20b4
fix: update lock note in handleModuleDelete and handleModuleUpdate me…
a4b7667
fix: add nil check for labels in WithExtraLabels method
41773d2
fix: update lock note for processBatchDeletedModules method and impro…
e5c1302
fix: update comments in handleConfigEvent and handleBatchConfigEvent …
7889132
fix: prevent removal of known checksums on error and use atomic opera…
4d20f75
fix: improve task history logging in Test_HandleConvergeModules_globa…
12a7cf6
fix: update logging message format in NewKubeConfigManager for better…
6bac4d5
fix: improve comments in sendEventIfNeeded and handleConfigEvent meth…
4b98136
fix: implement thread-safe TaskHandleHistory in tests to prevent race…
5629cf2
fix: remove unused taskInfo struct to clean up code
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.