Skip to content

Commit

Permalink
Fix sortOptions removal when running edit command
Browse files Browse the repository at this point in the history
FIX: When running `kustomize edit set image` sortOptions was removed.
  • Loading branch information
oli-f authored and oli-f committed May 9, 2024
1 parent e244b83 commit 7e924fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kustomize/commands/internal/kustfile/kustomizationfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func determineFieldOrder() []string {

ordered := []string{
"MetaData",
"SortOptions",
"Resources",
"Bases",
"NamePrefix",
Expand Down

0 comments on commit 7e924fd

Please sign in to comment.