-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Made an initial try at the consul-k8s upgrade command. Running into issues with the connect-injector webhook not starting on an install? * notes from sync with Saad on what's left * Made an initial try at the consul-k8s upgrade command. Running into issues with the connect-injector webhook not starting on an install? * First pass at upgrade was successful. * notes from sync with Saad on what's left * Some basic cleanup * Add the namespace and install flags * Add flag test and remove install option * Move presets into a config package * Add Changelog * Made an initial try at the consul-k8s upgrade command. Running into issues with the connect-injector webhook not starting on an install? * Upgrade commit * notes from sync with Saad on what's left * This commit contains the MapDiff function to compare the YAML of the previous Release and the new upgrade. * Remove double comment on name setting * Clean up some merge issues from rebase * Move MergeMaps to util * Reduce indent on check for installation * Clean up Help fn * Use Synopsis in Help * Remove duplicated MapMerge from git rebase * Add IsValidLabel to utils * Move chart loading code to chart file * Use the IsValidLabel in common * Use LoadChart * Move create UI logger closer to it's first call * Rename vals to chartValues * Add godebug dep * Add WithDiff{Added,Removed}Style * Run go mod tidy * Remove double k8serrors from git * Run go mod tidy * Remove errant changelog entry for upgrade * Fix some issues from the Git rebase * Show a diff using a simple YAML differ * Fix a val to chartValues misnaming from Git * Add the diffing dependency * Clean up comments and move some non-validating behavior out of the validation method * Start writing my own diff * `go mod tidy` 2k22 * Add several diff testing scenarios * Handle diffs using YAML parsing * Get diff working with more complex maps * Move FetchChartValues so that public functions are at the top of the chart file * Handle error on invalid timeout flag * Undo that weird indent change. * Catch the diff error * Modify chart fixtures to be loadable * Test loading charts * Check the error returned from diffRecursively. * Update changelog * Update cli/cmd/common/chart.go Co-authored-by: Nitya Dhanushkodi <[email protected]> * TestReadChartFiles checks contents of files * Test uppercase and underscores * Test removal scenarios * Fix formatting * Update cli/cmd/common/diff.go Co-authored-by: Iryna Shustava <[email protected]> * Change aMapSlice to aMapWithKey * `go mod tidy` * Replace "reflection" with better code * Remove double printing config * Return string, err from diffRecursively * Move common package up to cli root * Move chart to helm package * Fix error string on install * Delete the binary I added accidentally * Move diff to helm pkg * Match the update to /x/sys * Move diffing code back to common * Fix indentation on the diff and add a header explaining * Remove extra name/namespace print * Remove extra dry-run printing * Fix comment on WithDiffUnchangedStyle * Remove unused constants * Add a test case for valid label with leading numbers * Add test for MergeMaps * Reassure users with a dry run header Co-authored-by: Saad <[email protected]> Co-authored-by: Nitya Dhanushkodi <[email protected]> Co-authored-by: Iryna Shustava <[email protected]>
- Loading branch information
1 parent
bf04b99
commit 6744883
Showing
50 changed files
with
960 additions
and
462 deletions.
There are no files selected for viewing
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.