mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-17 17:52:12 +00:00
update edit fix to convert the old patches to patchesStrategicMerge
This commit is contained in:
@@ -61,6 +61,7 @@ func determineFieldOrder() []string {
|
||||
"CommonAnnotations",
|
||||
"PatchesStrategicMerge",
|
||||
"PatchesJson6902",
|
||||
"Patches",
|
||||
"ConfigMapGenerator",
|
||||
"SecretGenerator",
|
||||
"GeneratorOptions",
|
||||
@@ -73,9 +74,7 @@ func determineFieldOrder() []string {
|
||||
}
|
||||
|
||||
// Add deprecated fields here.
|
||||
deprecated := map[string]bool{
|
||||
"Patches": true,
|
||||
}
|
||||
deprecated := map[string]bool{}
|
||||
|
||||
// Account for the inlined TypeMeta fields.
|
||||
var result []string
|
||||
|
||||
Reference in New Issue
Block a user