-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix JSON tags on boolean Helm value struct fields (#1359)
* Fix JSON tag on settings.create Helm value struct field * Change just settings.create * Update changelog/v0.20.5/fix-helm-values-struct-json-tag.yaml Co-Authored-By: Kevin Dorosh <kcdorosh@gmail.com> * Fix other fields as well * Fix helm test
- Loading branch information
1 parent
60a312f
commit afad52b
Showing
3 changed files
with
14 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
changelog: | ||
- type: FIX | ||
description: > | ||
Some boolean fields on Helm value structs have an `omitempty` json tag. This causes the JSON encoder to | ||
considered the whole struct empty in cases where we only the boolean field is set to false and might lead to | ||
unexpected behavior. | ||
issueLink: https://github.com/solo-io/gloo/issues/1360 |
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