Add support for .krmignore file

This commit is contained in:
Morten Torkildsen
2020-08-26 17:40:04 -07:00
parent e39a5adc00
commit 16bbc2d67e
8 changed files with 448 additions and 99 deletions

10
kyaml/ext/ext.go Normal file
View File

@@ -0,0 +1,10 @@
// Copyright 2019 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0
package ext
// GetIgnoreFileName returns the name for ignore files in
// packages. It can be overridden by tools using this library.
var GetIgnoreFileName = func() string {
return ".krmignore"
}