add edit command option for editing name suffix

This commit is contained in:
zoncoen
2018-11-15 19:04:31 +09:00
parent 04a030bcf0
commit 3488b542ac
7 changed files with 162 additions and 1 deletions

View File

@@ -19,9 +19,10 @@ package fs
import (
"fmt"
"path/filepath"
"sigs.k8s.io/kustomize/pkg/constants"
"sort"
"strings"
"sigs.k8s.io/kustomize/pkg/constants"
)
var _ FileSystem = &fakeFs{}
@@ -40,6 +41,7 @@ func MakeFakeFS() *fakeFs {
// kustomizationContent is used in tests.
const kustomizationContent = `namePrefix: some-prefix
nameSuffix: some-suffix
# Labels to add to all objects and selectors.
# These labels would also be used to form the selector for apply --prune
# Named differently than “labels” to avoid confusion with metadata for this object