From e15bcaf5af6a29567d40f5069a70c00660b00d61 Mon Sep 17 00:00:00 2001 From: Jingfang Liu Date: Tue, 11 Sep 2018 15:49:31 -0700 Subject: [PATCH] change github.com/kubernetes-sigs to sigs.k8s.io --- examples/README.md | 2 +- kustomize.go | 2 +- pkg/app/application.go | 24 +++++++++---------- pkg/app/application_test.go | 12 +++++----- pkg/commands/addbase.go | 4 ++-- pkg/commands/addbase_test.go | 4 ++-- pkg/commands/addmetadata.go | 8 +++---- pkg/commands/addmetadata_test.go | 8 +++---- pkg/commands/addpatch.go | 6 ++--- pkg/commands/addpatch_test.go | 4 ++-- pkg/commands/addresource.go | 4 ++-- pkg/commands/addresource_test.go | 4 ++-- pkg/commands/build.go | 10 ++++---- pkg/commands/build_test.go | 4 ++-- pkg/commands/cmapflagsandargs.go | 2 +- pkg/commands/cmapflagsandargs_test.go | 2 +- pkg/commands/commands.go | 6 ++--- pkg/commands/configmap.go | 10 ++++---- pkg/commands/configmap_test.go | 4 ++-- pkg/commands/kustomizationfile.go | 6 ++--- pkg/commands/kustomizationfile_test.go | 6 ++--- pkg/commands/set_name_prefix.go | 4 ++-- pkg/commands/set_name_prefix_test.go | 4 ++-- pkg/commands/setimagetag.go | 6 ++--- pkg/commands/setimagetag_test.go | 4 ++-- pkg/commands/setnamespace.go | 4 ++-- pkg/commands/setnamespace_test.go | 4 ++-- pkg/commands/util.go | 2 +- pkg/configmapandsecret/configmapfactory.go | 8 +++---- .../configmapfactory_test.go | 6 ++--- pkg/configmapandsecret/secretfactory.go | 4 ++-- pkg/crds/crds.go | 4 ++-- pkg/crds/crds_test.go | 6 ++--- pkg/exec/new_test.go | 2 +- pkg/internal/error/configmaperror_test.go | 2 +- pkg/internal/error/kustomizationerror_test.go | 2 +- pkg/internal/error/patcherror_test.go | 2 +- pkg/internal/error/resourceerror_test.go | 2 +- pkg/internal/error/yamlformaterror_test.go | 2 +- pkg/internal/loadertest/fakeloader.go | 4 ++-- pkg/loader/fileloader.go | 2 +- pkg/loader/fileloader_test.go | 2 +- pkg/loader/githubloader.go | 2 +- pkg/loader/loader.go | 2 +- pkg/patch/transformer/factory.go | 8 +++---- pkg/patch/transformer/factory_test.go | 8 +++---- pkg/patch/transformer/patchjson6902json.go | 6 ++--- .../transformer/patchjson6902json_test.go | 4 ++-- pkg/patch/transformer/patchjson6902yaml.go | 6 ++--- .../transformer/patchjson6902yaml_test.go | 4 ++-- pkg/patch/transformer/util.go | 4 ++-- pkg/resmap/configmap.go | 6 ++--- pkg/resmap/configmap_test.go | 10 ++++---- pkg/resmap/idslice.go | 2 +- pkg/resmap/idslice_test.go | 2 +- pkg/resmap/resmap.go | 8 +++---- pkg/resmap/resmap_test.go | 4 ++-- pkg/resmap/secret.go | 6 ++--- pkg/resmap/secret_test.go | 8 +++---- pkg/transformers/imagetag.go | 4 ++-- pkg/transformers/imagetag_test.go | 6 ++--- pkg/transformers/labelsandannotations.go | 2 +- pkg/transformers/labelsandannotations_test.go | 4 ++-- pkg/transformers/multitransformer.go | 2 +- pkg/transformers/namehash.go | 6 ++--- pkg/transformers/namehash_test.go | 4 ++-- pkg/transformers/namereference.go | 4 ++-- pkg/transformers/namereference_test.go | 4 ++-- pkg/transformers/namespace.go | 2 +- pkg/transformers/namespace_test.go | 4 ++-- pkg/transformers/nooptransformer.go | 2 +- pkg/transformers/patch.go | 4 ++-- pkg/transformers/patch_test.go | 4 ++-- pkg/transformers/patchconflictdetector.go | 2 +- pkg/transformers/prefixname.go | 2 +- pkg/transformers/prefixname_test.go | 4 ++-- pkg/transformers/refvars.go | 4 ++-- pkg/transformers/transformer.go | 2 +- pkg/types/kustomization.go | 2 +- 79 files changed, 183 insertions(+), 183 deletions(-) diff --git a/examples/README.md b/examples/README.md index 0b150ffef5..fb2373ee82 100644 --- a/examples/README.md +++ b/examples/README.md @@ -7,7 +7,7 @@ tests, and should work with HEAD ``` -go get github.com/kubernetes-sigs/kustomize +go get sigs.k8s.io/kustomize ``` * [hello world](helloWorld/README.md) - Deploy multiple diff --git a/kustomize.go b/kustomize.go index 06978b254b..bd6d51ddc4 100644 --- a/kustomize.go +++ b/kustomize.go @@ -21,7 +21,7 @@ import ( "github.com/golang/glog" - "github.com/kubernetes-sigs/kustomize/pkg/commands" + "sigs.k8s.io/kustomize/pkg/commands" ) func main() { diff --git a/pkg/app/application.go b/pkg/app/application.go index da10ec2b2a..479f21c066 100644 --- a/pkg/app/application.go +++ b/pkg/app/application.go @@ -26,19 +26,19 @@ import ( "github.com/ghodss/yaml" "github.com/golang/glog" - "github.com/kubernetes-sigs/kustomize/pkg/configmapandsecret" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/crds" - "github.com/kubernetes-sigs/kustomize/pkg/fs" - interror "github.com/kubernetes-sigs/kustomize/pkg/internal/error" - "github.com/kubernetes-sigs/kustomize/pkg/loader" - "github.com/kubernetes-sigs/kustomize/pkg/patch" - patchtransformer "github.com/kubernetes-sigs/kustomize/pkg/patch/transformer" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" - "github.com/kubernetes-sigs/kustomize/pkg/resource" - "github.com/kubernetes-sigs/kustomize/pkg/transformers" - "github.com/kubernetes-sigs/kustomize/pkg/types" "github.com/pkg/errors" + "sigs.k8s.io/kustomize/pkg/configmapandsecret" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/crds" + "sigs.k8s.io/kustomize/pkg/fs" + interror "sigs.k8s.io/kustomize/pkg/internal/error" + "sigs.k8s.io/kustomize/pkg/loader" + "sigs.k8s.io/kustomize/pkg/patch" + patchtransformer "sigs.k8s.io/kustomize/pkg/patch/transformer" + "sigs.k8s.io/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resource" + "sigs.k8s.io/kustomize/pkg/transformers" + "sigs.k8s.io/kustomize/pkg/types" ) // Application implements the guts of the kustomize 'build' command. diff --git a/pkg/app/application_test.go b/pkg/app/application_test.go index 9cdfdea523..659700aeb9 100644 --- a/pkg/app/application_test.go +++ b/pkg/app/application_test.go @@ -22,14 +22,14 @@ import ( "strings" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/fs" - "github.com/kubernetes-sigs/kustomize/pkg/internal/loadertest" - "github.com/kubernetes-sigs/kustomize/pkg/loader" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" - "github.com/kubernetes-sigs/kustomize/pkg/resource" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/internal/loadertest" + "sigs.k8s.io/kustomize/pkg/loader" + "sigs.k8s.io/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resource" ) const ( diff --git a/pkg/commands/addbase.go b/pkg/commands/addbase.go index b97b40cb34..9dee60a8aa 100644 --- a/pkg/commands/addbase.go +++ b/pkg/commands/addbase.go @@ -23,8 +23,8 @@ import ( "github.com/spf13/cobra" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/fs" ) type addBaseOptions struct { diff --git a/pkg/commands/addbase_test.go b/pkg/commands/addbase_test.go index 3360a38447..9a071f3976 100644 --- a/pkg/commands/addbase_test.go +++ b/pkg/commands/addbase_test.go @@ -21,8 +21,8 @@ import ( "strings" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/fs" ) const ( diff --git a/pkg/commands/addmetadata.go b/pkg/commands/addmetadata.go index f454f81404..cb77f73327 100644 --- a/pkg/commands/addmetadata.go +++ b/pkg/commands/addmetadata.go @@ -20,11 +20,11 @@ import ( "fmt" "strings" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/fs" - "github.com/kubernetes-sigs/kustomize/pkg/types" - "github.com/kubernetes-sigs/kustomize/pkg/validators" "github.com/spf13/cobra" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/types" + "sigs.k8s.io/kustomize/pkg/validators" ) // kindOfAdd is the kind of metadata being added: label or annotation diff --git a/pkg/commands/addmetadata_test.go b/pkg/commands/addmetadata_test.go index dbfc1a5eb4..8f7f6bfdbd 100644 --- a/pkg/commands/addmetadata_test.go +++ b/pkg/commands/addmetadata_test.go @@ -19,10 +19,10 @@ package commands import ( "testing" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/fs" - "github.com/kubernetes-sigs/kustomize/pkg/types" - "github.com/kubernetes-sigs/kustomize/pkg/validators" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/types" + "sigs.k8s.io/kustomize/pkg/validators" ) func makeKustomization(t *testing.T) *types.Kustomization { diff --git a/pkg/commands/addpatch.go b/pkg/commands/addpatch.go index e16698ea2c..3b307089f3 100644 --- a/pkg/commands/addpatch.go +++ b/pkg/commands/addpatch.go @@ -22,9 +22,9 @@ import ( "github.com/spf13/cobra" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/fs" - "github.com/kubernetes-sigs/kustomize/pkg/patch" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/patch" ) type addPatchOptions struct { diff --git a/pkg/commands/addpatch_test.go b/pkg/commands/addpatch_test.go index 971c89eb42..711936d8b8 100644 --- a/pkg/commands/addpatch_test.go +++ b/pkg/commands/addpatch_test.go @@ -21,8 +21,8 @@ import ( "strings" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/fs" ) const ( diff --git a/pkg/commands/addresource.go b/pkg/commands/addresource.go index 14c0baa2d1..966179a1b8 100644 --- a/pkg/commands/addresource.go +++ b/pkg/commands/addresource.go @@ -22,8 +22,8 @@ import ( "github.com/spf13/cobra" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/fs" ) type addResourceOptions struct { diff --git a/pkg/commands/addresource_test.go b/pkg/commands/addresource_test.go index 91d503a39d..3b2f778229 100644 --- a/pkg/commands/addresource_test.go +++ b/pkg/commands/addresource_test.go @@ -20,8 +20,8 @@ import ( "strings" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/fs" ) const ( diff --git a/pkg/commands/build.go b/pkg/commands/build.go index 35616cee33..fdf82a0248 100644 --- a/pkg/commands/build.go +++ b/pkg/commands/build.go @@ -23,10 +23,10 @@ import ( "errors" - "github.com/kubernetes-sigs/kustomize/pkg/app" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/fs" - "github.com/kubernetes-sigs/kustomize/pkg/loader" + "sigs.k8s.io/kustomize/pkg/app" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/loader" ) type buildOptions struct { @@ -44,7 +44,7 @@ The url should follow hashicorp/go-getter URL format described in https://github.com/hashicorp/go-getter#url-format url examples: - github.com/kubernetes-sigs/kustomize//examples/multibases?ref=v1.0.6 + sigs.k8s.io/kustomize//examples/multibases?ref=v1.0.6 github.com/Liujingfang1/mysql github.com/Liujingfang1/kustomize//examples/helloWorld?ref=repoUrl2 ` diff --git a/pkg/commands/build_test.go b/pkg/commands/build_test.go index dd920b8bce..e413ffdea8 100644 --- a/pkg/commands/build_test.go +++ b/pkg/commands/build_test.go @@ -27,9 +27,9 @@ import ( "github.com/ghodss/yaml" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/fs" "k8s.io/apimachinery/pkg/util/sets" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/fs" ) type buildTestCase struct { diff --git a/pkg/commands/cmapflagsandargs.go b/pkg/commands/cmapflagsandargs.go index c706c0206c..666f2094bb 100644 --- a/pkg/commands/cmapflagsandargs.go +++ b/pkg/commands/cmapflagsandargs.go @@ -19,7 +19,7 @@ package commands import ( "fmt" - "github.com/kubernetes-sigs/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/fs" ) // cMapFlagsAndArgs encapsulates the options for add configmap commands. diff --git a/pkg/commands/cmapflagsandargs_test.go b/pkg/commands/cmapflagsandargs_test.go index 7ee92a9059..cd1cece1c3 100644 --- a/pkg/commands/cmapflagsandargs_test.go +++ b/pkg/commands/cmapflagsandargs_test.go @@ -20,7 +20,7 @@ import ( "reflect" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/fs" ) func TestDataConfigValidation_NoName(t *testing.T) { diff --git a/pkg/commands/commands.go b/pkg/commands/commands.go index f2b3e891da..29c19338c6 100644 --- a/pkg/commands/commands.go +++ b/pkg/commands/commands.go @@ -21,9 +21,9 @@ import ( "flag" "os" - "github.com/kubernetes-sigs/kustomize/pkg/fs" - "github.com/kubernetes-sigs/kustomize/pkg/validators" "github.com/spf13/cobra" + "sigs.k8s.io/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/validators" ) // NewDefaultCommand returns the default (aka root) command for kustomize command. @@ -37,7 +37,7 @@ func NewDefaultCommand() *cobra.Command { Long: ` kustomize manages declarative configuration of Kubernetes. -See https://github.com/kubernetes-sigs/kustomize +See https://sigs.k8s.io/kustomize `, } diff --git a/pkg/commands/configmap.go b/pkg/commands/configmap.go index 8690597062..5baceae299 100644 --- a/pkg/commands/configmap.go +++ b/pkg/commands/configmap.go @@ -21,11 +21,11 @@ import ( "github.com/spf13/cobra" - "github.com/kubernetes-sigs/kustomize/pkg/configmapandsecret" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/fs" - "github.com/kubernetes-sigs/kustomize/pkg/loader" - "github.com/kubernetes-sigs/kustomize/pkg/types" + "sigs.k8s.io/kustomize/pkg/configmapandsecret" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/loader" + "sigs.k8s.io/kustomize/pkg/types" ) func newCmdAddConfigMap(fSys fs.FileSystem) *cobra.Command { diff --git a/pkg/commands/configmap_test.go b/pkg/commands/configmap_test.go index afbc4ca147..682db05e0e 100644 --- a/pkg/commands/configmap_test.go +++ b/pkg/commands/configmap_test.go @@ -19,8 +19,8 @@ package commands import ( "testing" - "github.com/kubernetes-sigs/kustomize/pkg/fs" - "github.com/kubernetes-sigs/kustomize/pkg/types" + "sigs.k8s.io/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/types" ) func TestNewAddConfigMapIsNotNil(t *testing.T) { diff --git a/pkg/commands/kustomizationfile.go b/pkg/commands/kustomizationfile.go index 8efa6e0115..65f5829c5f 100644 --- a/pkg/commands/kustomizationfile.go +++ b/pkg/commands/kustomizationfile.go @@ -28,9 +28,9 @@ import ( "github.com/ghodss/yaml" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/fs" - "github.com/kubernetes-sigs/kustomize/pkg/types" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/types" ) var ( diff --git a/pkg/commands/kustomizationfile_test.go b/pkg/commands/kustomizationfile_test.go index 56e8970ab3..bc31b92186 100644 --- a/pkg/commands/kustomizationfile_test.go +++ b/pkg/commands/kustomizationfile_test.go @@ -21,9 +21,9 @@ import ( "strings" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/fs" - "github.com/kubernetes-sigs/kustomize/pkg/types" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/types" ) func TestWriteAndRead(t *testing.T) { diff --git a/pkg/commands/set_name_prefix.go b/pkg/commands/set_name_prefix.go index d5a425a16b..0b361af258 100644 --- a/pkg/commands/set_name_prefix.go +++ b/pkg/commands/set_name_prefix.go @@ -21,8 +21,8 @@ import ( "github.com/spf13/cobra" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/fs" ) type setNamePrefixOptions struct { diff --git a/pkg/commands/set_name_prefix_test.go b/pkg/commands/set_name_prefix_test.go index fee1907579..c6a08c6e75 100644 --- a/pkg/commands/set_name_prefix_test.go +++ b/pkg/commands/set_name_prefix_test.go @@ -21,8 +21,8 @@ import ( "strings" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/fs" ) const ( diff --git a/pkg/commands/setimagetag.go b/pkg/commands/setimagetag.go index f6d82c3b35..e6cd40a840 100644 --- a/pkg/commands/setimagetag.go +++ b/pkg/commands/setimagetag.go @@ -24,9 +24,9 @@ import ( "github.com/spf13/cobra" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/fs" - "github.com/kubernetes-sigs/kustomize/pkg/types" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/types" ) type setImageTagOptions struct { diff --git a/pkg/commands/setimagetag_test.go b/pkg/commands/setimagetag_test.go index 9d23a11172..6e49cce3ba 100644 --- a/pkg/commands/setimagetag_test.go +++ b/pkg/commands/setimagetag_test.go @@ -20,8 +20,8 @@ import ( "strings" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/fs" ) func TestSetImageTagsHappyPath(t *testing.T) { diff --git a/pkg/commands/setnamespace.go b/pkg/commands/setnamespace.go index f215d91e59..c8f51ab8a3 100644 --- a/pkg/commands/setnamespace.go +++ b/pkg/commands/setnamespace.go @@ -21,10 +21,10 @@ import ( "fmt" "strings" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/fs" "github.com/spf13/cobra" "k8s.io/apimachinery/pkg/util/validation" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/fs" ) type setNamespaceOptions struct { diff --git a/pkg/commands/setnamespace_test.go b/pkg/commands/setnamespace_test.go index d4d1a3682b..a2fdebeca8 100644 --- a/pkg/commands/setnamespace_test.go +++ b/pkg/commands/setnamespace_test.go @@ -21,8 +21,8 @@ import ( "strings" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/constants" - "github.com/kubernetes-sigs/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/fs" ) const ( diff --git a/pkg/commands/util.go b/pkg/commands/util.go index c01780be22..4ffd28dbb5 100644 --- a/pkg/commands/util.go +++ b/pkg/commands/util.go @@ -19,7 +19,7 @@ package commands import ( "log" - "github.com/kubernetes-sigs/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/fs" ) func globPatterns(fsys fs.FileSystem, patterns []string) ([]string, error) { diff --git a/pkg/configmapandsecret/configmapfactory.go b/pkg/configmapandsecret/configmapfactory.go index a12a6bc9e1..33407071aa 100644 --- a/pkg/configmapandsecret/configmapfactory.go +++ b/pkg/configmapandsecret/configmapfactory.go @@ -23,16 +23,16 @@ import ( "path" "strings" - "github.com/kubernetes-sigs/kustomize/pkg/fs" - "github.com/kubernetes-sigs/kustomize/pkg/hash" - "github.com/kubernetes-sigs/kustomize/pkg/loader" - "github.com/kubernetes-sigs/kustomize/pkg/types" "github.com/pkg/errors" "k8s.io/api/core/v1" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/util/validation" + "sigs.k8s.io/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/hash" + "sigs.k8s.io/kustomize/pkg/loader" + "sigs.k8s.io/kustomize/pkg/types" ) // ConfigMapFactory makes ConfigMaps. diff --git a/pkg/configmapandsecret/configmapfactory_test.go b/pkg/configmapandsecret/configmapfactory_test.go index 8b89e0e78c..03fd9c4f90 100644 --- a/pkg/configmapandsecret/configmapfactory_test.go +++ b/pkg/configmapandsecret/configmapfactory_test.go @@ -20,12 +20,12 @@ import ( "reflect" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/fs" - "github.com/kubernetes-sigs/kustomize/pkg/loader" - "github.com/kubernetes-sigs/kustomize/pkg/types" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" + "sigs.k8s.io/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/loader" + "sigs.k8s.io/kustomize/pkg/types" ) func makeEnvConfigMap(name string) *corev1.ConfigMap { diff --git a/pkg/configmapandsecret/secretfactory.go b/pkg/configmapandsecret/secretfactory.go index 038a4c3216..90c2a91dba 100644 --- a/pkg/configmapandsecret/secretfactory.go +++ b/pkg/configmapandsecret/secretfactory.go @@ -24,11 +24,11 @@ import ( "strings" "time" - "github.com/kubernetes-sigs/kustomize/pkg/fs" - "github.com/kubernetes-sigs/kustomize/pkg/types" "github.com/pkg/errors" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/util/validation" + "sigs.k8s.io/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/types" ) const ( diff --git a/pkg/crds/crds.go b/pkg/crds/crds.go index 5d0176371a..2cd6724c68 100644 --- a/pkg/crds/crds.go +++ b/pkg/crds/crds.go @@ -23,10 +23,10 @@ import ( "strings" "github.com/ghodss/yaml" - "github.com/kubernetes-sigs/kustomize/pkg/loader" - "github.com/kubernetes-sigs/kustomize/pkg/transformers" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/kube-openapi/pkg/common" + "sigs.k8s.io/kustomize/pkg/loader" + "sigs.k8s.io/kustomize/pkg/transformers" ) type pathConfigs struct { diff --git a/pkg/crds/crds_test.go b/pkg/crds/crds_test.go index 25fbb354b0..586d00b5a0 100644 --- a/pkg/crds/crds_test.go +++ b/pkg/crds/crds_test.go @@ -21,10 +21,10 @@ import ( "sort" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/internal/loadertest" - "github.com/kubernetes-sigs/kustomize/pkg/loader" - "github.com/kubernetes-sigs/kustomize/pkg/transformers" "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/kustomize/pkg/internal/loadertest" + "sigs.k8s.io/kustomize/pkg/loader" + "sigs.k8s.io/kustomize/pkg/transformers" ) const ( diff --git a/pkg/exec/new_test.go b/pkg/exec/new_test.go index a48a1f8f2e..90d5a823ae 100644 --- a/pkg/exec/new_test.go +++ b/pkg/exec/new_test.go @@ -20,7 +20,7 @@ import ( "bytes" "fmt" - "github.com/kubernetes-sigs/kustomize/pkg/exec" + "sigs.k8s.io/kustomize/pkg/exec" ) func ExampleNew() { diff --git a/pkg/internal/error/configmaperror_test.go b/pkg/internal/error/configmaperror_test.go index 539b2cf880..00d77294de 100644 --- a/pkg/internal/error/configmaperror_test.go +++ b/pkg/internal/error/configmaperror_test.go @@ -20,7 +20,7 @@ import ( "strings" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/constants" ) func TestConfigmapError_Error(t *testing.T) { diff --git a/pkg/internal/error/kustomizationerror_test.go b/pkg/internal/error/kustomizationerror_test.go index 0301db79cf..3a786a5850 100644 --- a/pkg/internal/error/kustomizationerror_test.go +++ b/pkg/internal/error/kustomizationerror_test.go @@ -21,7 +21,7 @@ import ( "strings" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/constants" ) func TestKustomizationError_Error(t *testing.T) { diff --git a/pkg/internal/error/patcherror_test.go b/pkg/internal/error/patcherror_test.go index d3145aa74c..f030634aeb 100644 --- a/pkg/internal/error/patcherror_test.go +++ b/pkg/internal/error/patcherror_test.go @@ -20,7 +20,7 @@ import ( "strings" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/constants" ) func TestPatchError_Error(t *testing.T) { diff --git a/pkg/internal/error/resourceerror_test.go b/pkg/internal/error/resourceerror_test.go index 21a62fb4e7..8ffae7f5fa 100644 --- a/pkg/internal/error/resourceerror_test.go +++ b/pkg/internal/error/resourceerror_test.go @@ -20,7 +20,7 @@ import ( "strings" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/constants" + "sigs.k8s.io/kustomize/pkg/constants" ) func TestResourceError_Error(t *testing.T) { diff --git a/pkg/internal/error/yamlformaterror_test.go b/pkg/internal/error/yamlformaterror_test.go index b79abdb1c3..68624bf008 100644 --- a/pkg/internal/error/yamlformaterror_test.go +++ b/pkg/internal/error/yamlformaterror_test.go @@ -21,8 +21,8 @@ import ( "fmt" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/constants" "k8s.io/apimachinery/pkg/util/yaml" + "sigs.k8s.io/kustomize/pkg/constants" ) var ( diff --git a/pkg/internal/loadertest/fakeloader.go b/pkg/internal/loadertest/fakeloader.go index 6ced8e4f3d..0cc4b2688e 100644 --- a/pkg/internal/loadertest/fakeloader.go +++ b/pkg/internal/loadertest/fakeloader.go @@ -18,8 +18,8 @@ limitations under the License. package loadertest import ( - "github.com/kubernetes-sigs/kustomize/pkg/fs" - "github.com/kubernetes-sigs/kustomize/pkg/loader" + "sigs.k8s.io/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/loader" ) // FakeLoader encapsulates the delegate Loader and the fake file system. diff --git a/pkg/loader/fileloader.go b/pkg/loader/fileloader.go index cb32b953c5..bd30ba56e0 100644 --- a/pkg/loader/fileloader.go +++ b/pkg/loader/fileloader.go @@ -21,7 +21,7 @@ import ( "os" "path/filepath" - "github.com/kubernetes-sigs/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/fs" ) const currentDir = "." diff --git a/pkg/loader/fileloader_test.go b/pkg/loader/fileloader_test.go index 5a2a3cc103..b0f6575281 100644 --- a/pkg/loader/fileloader_test.go +++ b/pkg/loader/fileloader_test.go @@ -21,7 +21,7 @@ import ( "reflect" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/fs" ) func TestLoader_Root(t *testing.T) { diff --git a/pkg/loader/githubloader.go b/pkg/loader/githubloader.go index 6bde1be2a6..c60e540937 100644 --- a/pkg/loader/githubloader.go +++ b/pkg/loader/githubloader.go @@ -24,7 +24,7 @@ import ( "github.com/hashicorp/go-getter" - "github.com/kubernetes-sigs/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/fs" ) // githubLoader loads files from a checkout github repo diff --git a/pkg/loader/loader.go b/pkg/loader/loader.go index 0b1ed2d2c8..b3e70ef18d 100644 --- a/pkg/loader/loader.go +++ b/pkg/loader/loader.go @@ -21,7 +21,7 @@ import ( "fmt" "path/filepath" - "github.com/kubernetes-sigs/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/fs" ) // Loader interface exposes methods to read bytes. diff --git a/pkg/patch/transformer/factory.go b/pkg/patch/transformer/factory.go index ebd973098e..a3c6b36abf 100644 --- a/pkg/patch/transformer/factory.go +++ b/pkg/patch/transformer/factory.go @@ -21,11 +21,11 @@ import ( "github.com/evanphx/json-patch" "github.com/krishicks/yaml-patch" - "github.com/kubernetes-sigs/kustomize/pkg/loader" - "github.com/kubernetes-sigs/kustomize/pkg/patch" - "github.com/kubernetes-sigs/kustomize/pkg/resource" - "github.com/kubernetes-sigs/kustomize/pkg/transformers" "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/kustomize/pkg/loader" + "sigs.k8s.io/kustomize/pkg/patch" + "sigs.k8s.io/kustomize/pkg/resource" + "sigs.k8s.io/kustomize/pkg/transformers" ) // PatchJson6902Factory makes PatchJson6902 transformers diff --git a/pkg/patch/transformer/factory_test.go b/pkg/patch/transformer/factory_test.go index 426ab18d42..e3cf67cef7 100644 --- a/pkg/patch/transformer/factory_test.go +++ b/pkg/patch/transformer/factory_test.go @@ -21,12 +21,12 @@ import ( "strings" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/internal/loadertest" - "github.com/kubernetes-sigs/kustomize/pkg/patch" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" - "github.com/kubernetes-sigs/kustomize/pkg/resource" "gopkg.in/yaml.v2" "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/kustomize/pkg/internal/loadertest" + "sigs.k8s.io/kustomize/pkg/patch" + "sigs.k8s.io/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resource" ) func TestNewPatchJson6902FactoryNoTarget(t *testing.T) { diff --git a/pkg/patch/transformer/patchjson6902json.go b/pkg/patch/transformer/patchjson6902json.go index d7e69fb608..4f4f633c12 100644 --- a/pkg/patch/transformer/patchjson6902json.go +++ b/pkg/patch/transformer/patchjson6902json.go @@ -18,9 +18,9 @@ package transformer import ( "github.com/evanphx/json-patch" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" - "github.com/kubernetes-sigs/kustomize/pkg/resource" - "github.com/kubernetes-sigs/kustomize/pkg/transformers" + "sigs.k8s.io/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resource" + "sigs.k8s.io/kustomize/pkg/transformers" ) // patchJson6902JSONTransformer applies patches. diff --git a/pkg/patch/transformer/patchjson6902json_test.go b/pkg/patch/transformer/patchjson6902json_test.go index 7db139099d..4731eec6ec 100644 --- a/pkg/patch/transformer/patchjson6902json_test.go +++ b/pkg/patch/transformer/patchjson6902json_test.go @@ -21,8 +21,8 @@ import ( "testing" "github.com/evanphx/json-patch" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" - "github.com/kubernetes-sigs/kustomize/pkg/resource" + "sigs.k8s.io/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resource" ) func TestJsonPatchJSONTransformer_Transform(t *testing.T) { diff --git a/pkg/patch/transformer/patchjson6902yaml.go b/pkg/patch/transformer/patchjson6902yaml.go index 407a212724..fee314d2f0 100644 --- a/pkg/patch/transformer/patchjson6902yaml.go +++ b/pkg/patch/transformer/patchjson6902yaml.go @@ -19,9 +19,9 @@ package transformer import ( "github.com/ghodss/yaml" "github.com/krishicks/yaml-patch" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" - "github.com/kubernetes-sigs/kustomize/pkg/resource" - "github.com/kubernetes-sigs/kustomize/pkg/transformers" + "sigs.k8s.io/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resource" + "sigs.k8s.io/kustomize/pkg/transformers" ) // patchJson6902YAMLTransformer applies patches. diff --git a/pkg/patch/transformer/patchjson6902yaml_test.go b/pkg/patch/transformer/patchjson6902yaml_test.go index cab331bf2e..022c657152 100644 --- a/pkg/patch/transformer/patchjson6902yaml_test.go +++ b/pkg/patch/transformer/patchjson6902yaml_test.go @@ -21,9 +21,9 @@ import ( "testing" "github.com/krishicks/yaml-patch" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" - "github.com/kubernetes-sigs/kustomize/pkg/resource" "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resource" ) var deploy = schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "Deployment"} diff --git a/pkg/patch/transformer/util.go b/pkg/patch/transformer/util.go index 62ac9b3ad8..0387c5a195 100644 --- a/pkg/patch/transformer/util.go +++ b/pkg/patch/transformer/util.go @@ -20,8 +20,8 @@ import ( "fmt" "log" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" - "github.com/kubernetes-sigs/kustomize/pkg/resource" + "sigs.k8s.io/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resource" ) func findTargetObj(m resmap.ResMap, targetId resource.ResId) (*resource.Resource, error) { diff --git a/pkg/resmap/configmap.go b/pkg/resmap/configmap.go index 21e1e6cafe..0b2991f1ac 100644 --- a/pkg/resmap/configmap.go +++ b/pkg/resmap/configmap.go @@ -17,9 +17,9 @@ limitations under the License. package resmap import ( - "github.com/kubernetes-sigs/kustomize/pkg/configmapandsecret" - "github.com/kubernetes-sigs/kustomize/pkg/resource" - "github.com/kubernetes-sigs/kustomize/pkg/types" + "sigs.k8s.io/kustomize/pkg/configmapandsecret" + "sigs.k8s.io/kustomize/pkg/resource" + "sigs.k8s.io/kustomize/pkg/types" ) // NewResMapFromConfigMapArgs returns a Resource slice given diff --git a/pkg/resmap/configmap_test.go b/pkg/resmap/configmap_test.go index c6355ceb9c..8a06be6c59 100644 --- a/pkg/resmap/configmap_test.go +++ b/pkg/resmap/configmap_test.go @@ -20,12 +20,12 @@ import ( "reflect" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/configmapandsecret" - "github.com/kubernetes-sigs/kustomize/pkg/fs" - "github.com/kubernetes-sigs/kustomize/pkg/internal/loadertest" - "github.com/kubernetes-sigs/kustomize/pkg/resource" - "github.com/kubernetes-sigs/kustomize/pkg/types" "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/kustomize/pkg/configmapandsecret" + "sigs.k8s.io/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/internal/loadertest" + "sigs.k8s.io/kustomize/pkg/resource" + "sigs.k8s.io/kustomize/pkg/types" ) var cmap = schema.GroupVersionKind{Version: "v1", Kind: "ConfigMap"} diff --git a/pkg/resmap/idslice.go b/pkg/resmap/idslice.go index 38ed4d5189..d80f88f703 100644 --- a/pkg/resmap/idslice.go +++ b/pkg/resmap/idslice.go @@ -19,8 +19,8 @@ package resmap import ( "sort" - "github.com/kubernetes-sigs/kustomize/pkg/resource" "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/kustomize/pkg/resource" ) // IdSlice implements the sort interface. diff --git a/pkg/resmap/idslice_test.go b/pkg/resmap/idslice_test.go index be709a06f1..ef9038d632 100644 --- a/pkg/resmap/idslice_test.go +++ b/pkg/resmap/idslice_test.go @@ -21,8 +21,8 @@ import ( "sort" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/resource" "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/kustomize/pkg/resource" ) func TestLess(t *testing.T) { diff --git a/pkg/resmap/resmap.go b/pkg/resmap/resmap.go index 5471541e86..8da4a02c21 100644 --- a/pkg/resmap/resmap.go +++ b/pkg/resmap/resmap.go @@ -27,13 +27,13 @@ import ( "github.com/ghodss/yaml" "github.com/golang/glog" - internal "github.com/kubernetes-sigs/kustomize/pkg/internal/error" - "github.com/kubernetes-sigs/kustomize/pkg/loader" - "github.com/kubernetes-sigs/kustomize/pkg/patch" - "github.com/kubernetes-sigs/kustomize/pkg/resource" "github.com/pkg/errors" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" k8syaml "k8s.io/apimachinery/pkg/util/yaml" + internal "sigs.k8s.io/kustomize/pkg/internal/error" + "sigs.k8s.io/kustomize/pkg/loader" + "sigs.k8s.io/kustomize/pkg/patch" + "sigs.k8s.io/kustomize/pkg/resource" ) // ResMap is a map from ResId to Resource. diff --git a/pkg/resmap/resmap_test.go b/pkg/resmap/resmap_test.go index bba8c8c933..5f8dada3fe 100644 --- a/pkg/resmap/resmap_test.go +++ b/pkg/resmap/resmap_test.go @@ -21,9 +21,9 @@ import ( "reflect" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/internal/loadertest" - "github.com/kubernetes-sigs/kustomize/pkg/resource" "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/kustomize/pkg/internal/loadertest" + "sigs.k8s.io/kustomize/pkg/resource" ) var deploy = schema.GroupVersionKind{Group: "apps", Version: "v1", Kind: "Deployment"} diff --git a/pkg/resmap/secret.go b/pkg/resmap/secret.go index 662e7dbf61..c6388ae393 100644 --- a/pkg/resmap/secret.go +++ b/pkg/resmap/secret.go @@ -17,10 +17,10 @@ limitations under the License. package resmap import ( - "github.com/kubernetes-sigs/kustomize/pkg/configmapandsecret" - "github.com/kubernetes-sigs/kustomize/pkg/resource" - "github.com/kubernetes-sigs/kustomize/pkg/types" "github.com/pkg/errors" + "sigs.k8s.io/kustomize/pkg/configmapandsecret" + "sigs.k8s.io/kustomize/pkg/resource" + "sigs.k8s.io/kustomize/pkg/types" ) // NewResMapFromSecretArgs takes a SecretArgs slice, generates diff --git a/pkg/resmap/secret_test.go b/pkg/resmap/secret_test.go index e36470690b..a3d48c0a18 100644 --- a/pkg/resmap/secret_test.go +++ b/pkg/resmap/secret_test.go @@ -21,12 +21,12 @@ import ( "reflect" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/configmapandsecret" - "github.com/kubernetes-sigs/kustomize/pkg/fs" - "github.com/kubernetes-sigs/kustomize/pkg/resource" - "github.com/kubernetes-sigs/kustomize/pkg/types" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/kustomize/pkg/configmapandsecret" + "sigs.k8s.io/kustomize/pkg/fs" + "sigs.k8s.io/kustomize/pkg/resource" + "sigs.k8s.io/kustomize/pkg/types" ) var secret = schema.GroupVersionKind{Version: "v1", Kind: "Secret"} diff --git a/pkg/transformers/imagetag.go b/pkg/transformers/imagetag.go index a5c0895fc7..e992974153 100644 --- a/pkg/transformers/imagetag.go +++ b/pkg/transformers/imagetag.go @@ -19,8 +19,8 @@ package transformers import ( "regexp" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" - "github.com/kubernetes-sigs/kustomize/pkg/types" + "sigs.k8s.io/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/types" ) // imageTagTransformer replace image tags diff --git a/pkg/transformers/imagetag_test.go b/pkg/transformers/imagetag_test.go index 45c027e029..8a568bdc37 100644 --- a/pkg/transformers/imagetag_test.go +++ b/pkg/transformers/imagetag_test.go @@ -20,10 +20,10 @@ import ( "reflect" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" - "github.com/kubernetes-sigs/kustomize/pkg/resource" - "github.com/kubernetes-sigs/kustomize/pkg/types" "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resource" + "sigs.k8s.io/kustomize/pkg/types" ) func TestImageTagTransformer(t *testing.T) { diff --git a/pkg/transformers/labelsandannotations.go b/pkg/transformers/labelsandannotations.go index 8f3f7c2496..c9fae3abf1 100644 --- a/pkg/transformers/labelsandannotations.go +++ b/pkg/transformers/labelsandannotations.go @@ -20,7 +20,7 @@ import ( "errors" "fmt" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resmap" ) // mapTransformer contains a map string->string and path configs diff --git a/pkg/transformers/labelsandannotations_test.go b/pkg/transformers/labelsandannotations_test.go index 041da6a955..930f619a81 100644 --- a/pkg/transformers/labelsandannotations_test.go +++ b/pkg/transformers/labelsandannotations_test.go @@ -20,9 +20,9 @@ import ( "reflect" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" - "github.com/kubernetes-sigs/kustomize/pkg/resource" "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resource" ) var service = schema.GroupVersionKind{Version: "v1", Kind: "Service"} diff --git a/pkg/transformers/multitransformer.go b/pkg/transformers/multitransformer.go index da5ae48753..1dcc793c8b 100644 --- a/pkg/transformers/multitransformer.go +++ b/pkg/transformers/multitransformer.go @@ -19,7 +19,7 @@ package transformers import ( "fmt" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resmap" ) // multiTransformer contains a list of transformers. diff --git a/pkg/transformers/namehash.go b/pkg/transformers/namehash.go index 584b83ef96..95af49f6f4 100644 --- a/pkg/transformers/namehash.go +++ b/pkg/transformers/namehash.go @@ -20,11 +20,11 @@ import ( "encoding/json" "fmt" - "github.com/kubernetes-sigs/kustomize/pkg/hash" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" - "github.com/kubernetes-sigs/kustomize/pkg/resource" "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/kustomize/pkg/hash" + "sigs.k8s.io/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resource" ) // nameHashTransformer contains the prefix and the path config for each field that diff --git a/pkg/transformers/namehash_test.go b/pkg/transformers/namehash_test.go index 087869c32e..5bebd9b6c5 100644 --- a/pkg/transformers/namehash_test.go +++ b/pkg/transformers/namehash_test.go @@ -20,8 +20,8 @@ import ( "reflect" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" - "github.com/kubernetes-sigs/kustomize/pkg/resource" + "sigs.k8s.io/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resource" ) func TestNameHashTransformer(t *testing.T) { diff --git a/pkg/transformers/namereference.go b/pkg/transformers/namereference.go index 89e887b01d..a4b69f5aba 100644 --- a/pkg/transformers/namereference.go +++ b/pkg/transformers/namereference.go @@ -20,9 +20,9 @@ import ( "errors" "fmt" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" - "github.com/kubernetes-sigs/kustomize/pkg/resource" "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resource" ) // nameReferenceTransformer contains the referencing info between 2 GroupVersionKinds diff --git a/pkg/transformers/namereference_test.go b/pkg/transformers/namereference_test.go index 569e48926f..cd6f4a27ca 100644 --- a/pkg/transformers/namereference_test.go +++ b/pkg/transformers/namereference_test.go @@ -20,9 +20,9 @@ import ( "reflect" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" - "github.com/kubernetes-sigs/kustomize/pkg/resource" "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resource" ) func TestNameReferenceRun(t *testing.T) { diff --git a/pkg/transformers/namespace.go b/pkg/transformers/namespace.go index 6efa467923..171d7bd11f 100644 --- a/pkg/transformers/namespace.go +++ b/pkg/transformers/namespace.go @@ -17,8 +17,8 @@ limitations under the License. package transformers import ( - "github.com/kubernetes-sigs/kustomize/pkg/resmap" "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/kustomize/pkg/resmap" ) type namespaceTransformer struct { diff --git a/pkg/transformers/namespace_test.go b/pkg/transformers/namespace_test.go index a76887a8d5..3191259ec0 100644 --- a/pkg/transformers/namespace_test.go +++ b/pkg/transformers/namespace_test.go @@ -20,8 +20,8 @@ import ( "reflect" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" - "github.com/kubernetes-sigs/kustomize/pkg/resource" + "sigs.k8s.io/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resource" ) func TestNamespaceRun(t *testing.T) { diff --git a/pkg/transformers/nooptransformer.go b/pkg/transformers/nooptransformer.go index 58171b13a7..c07389b31d 100644 --- a/pkg/transformers/nooptransformer.go +++ b/pkg/transformers/nooptransformer.go @@ -16,7 +16,7 @@ limitations under the License. package transformers -import "github.com/kubernetes-sigs/kustomize/pkg/resmap" +import "sigs.k8s.io/kustomize/pkg/resmap" // noOpTransformer contains a no-op transformer. type noOpTransformer struct{} diff --git a/pkg/transformers/patch.go b/pkg/transformers/patch.go index 9007e1c2a3..83b0abc456 100644 --- a/pkg/transformers/patch.go +++ b/pkg/transformers/patch.go @@ -21,11 +21,11 @@ import ( "fmt" "github.com/evanphx/json-patch" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" - "github.com/kubernetes-sigs/kustomize/pkg/resource" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/util/strategicpatch" "k8s.io/client-go/kubernetes/scheme" + "sigs.k8s.io/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resource" ) // patchTransformer applies patches. diff --git a/pkg/transformers/patch_test.go b/pkg/transformers/patch_test.go index 46d390412d..7ea276e82d 100644 --- a/pkg/transformers/patch_test.go +++ b/pkg/transformers/patch_test.go @@ -21,8 +21,8 @@ import ( "strings" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" - "github.com/kubernetes-sigs/kustomize/pkg/resource" + "sigs.k8s.io/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resource" ) func TestOverlayRun(t *testing.T) { diff --git a/pkg/transformers/patchconflictdetector.go b/pkg/transformers/patchconflictdetector.go index 38b034ad20..97a65f022f 100644 --- a/pkg/transformers/patchconflictdetector.go +++ b/pkg/transformers/patchconflictdetector.go @@ -20,10 +20,10 @@ import ( "encoding/json" "github.com/evanphx/json-patch" - "github.com/kubernetes-sigs/kustomize/pkg/resource" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/util/mergepatch" "k8s.io/apimachinery/pkg/util/strategicpatch" + "sigs.k8s.io/kustomize/pkg/resource" ) type conflictDetector interface { diff --git a/pkg/transformers/prefixname.go b/pkg/transformers/prefixname.go index 1da095b04b..c6143818d8 100644 --- a/pkg/transformers/prefixname.go +++ b/pkg/transformers/prefixname.go @@ -21,7 +21,7 @@ import ( "fmt" "log" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resmap" "k8s.io/apimachinery/pkg/runtime/schema" ) diff --git a/pkg/transformers/prefixname_test.go b/pkg/transformers/prefixname_test.go index d1e03cfcf5..4d36eeae12 100644 --- a/pkg/transformers/prefixname_test.go +++ b/pkg/transformers/prefixname_test.go @@ -20,9 +20,9 @@ import ( "reflect" "testing" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" - "github.com/kubernetes-sigs/kustomize/pkg/resource" "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/kustomize/pkg/resmap" + "sigs.k8s.io/kustomize/pkg/resource" ) func TestPrefixNameRun(t *testing.T) { diff --git a/pkg/transformers/refvars.go b/pkg/transformers/refvars.go index d17a989f9c..e426875567 100644 --- a/pkg/transformers/refvars.go +++ b/pkg/transformers/refvars.go @@ -3,9 +3,9 @@ package transformers import ( "fmt" - "github.com/kubernetes-sigs/kustomize/pkg/expansion" - "github.com/kubernetes-sigs/kustomize/pkg/resmap" "k8s.io/apimachinery/pkg/runtime/schema" + "sigs.k8s.io/kustomize/pkg/expansion" + "sigs.k8s.io/kustomize/pkg/resmap" ) type refvarTransformer struct { diff --git a/pkg/transformers/transformer.go b/pkg/transformers/transformer.go index aad9406d85..dc6f8807c3 100644 --- a/pkg/transformers/transformer.go +++ b/pkg/transformers/transformer.go @@ -17,7 +17,7 @@ limitations under the License. // Package transformers has implementations of resmap.ResMap transformers. package transformers -import "github.com/kubernetes-sigs/kustomize/pkg/resmap" +import "sigs.k8s.io/kustomize/pkg/resmap" // A Transformer modifies an instance of resmap.ResMap. type Transformer interface { diff --git a/pkg/types/kustomization.go b/pkg/types/kustomization.go index d693275fd2..3f0674ce7f 100644 --- a/pkg/types/kustomization.go +++ b/pkg/types/kustomization.go @@ -20,7 +20,7 @@ package types import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/kubernetes-sigs/kustomize/pkg/patch" + "sigs.k8s.io/kustomize/pkg/patch" ) // Kustomization holds the information needed to generate customized k8s api resources.