mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-14 02:20:53 +00:00
write krm metadata to Krmfile instead of Kustomization
This commit is contained in:
committed by
Phillip Wittrock
parent
c1a2bf14da
commit
0e5e2648b3
@@ -3,10 +3,14 @@
|
||||
|
||||
package ext
|
||||
|
||||
import "path/filepath"
|
||||
import (
|
||||
"path/filepath"
|
||||
|
||||
"sigs.k8s.io/kustomize/kyaml/krmfile"
|
||||
)
|
||||
|
||||
// GetOpenAPIFile returns the path to the file containing supplementary OpenAPI definitions.
|
||||
// Maybe be overridden to configure which file to read OpenAPI definitions from.
|
||||
var GetOpenAPIFile = func(args []string) (string, error) {
|
||||
return filepath.Join(args[0], "kustomization"), nil
|
||||
return filepath.Join(args[0], krmfile.KrmfileName), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user