From e11fab152e1e178d244d21b6f38cc6e4caca8be4 Mon Sep 17 00:00:00 2001 From: Priyank Upadhyay <105195271+priyank-upadhyay@users.noreply.github.com> Date: Wed, 2 Nov 2022 11:20:12 +0530 Subject: [PATCH] RC-0.3.2 (#23) * Changed chart url from charts to kubeslice * Updated old references of `slicectl` in imports and documentation * Added help for root command * Version upgrade form 0.3.1 to 0.3.2 Signed-off-by: Priyank Upadhyay Co-authored-by: Eric Peterson --- README.md | 6 +++--- cmd/create.go | 4 ++-- cmd/delete.go | 4 ++-- cmd/describe.go | 4 ++-- cmd/edit.go | 4 ++-- cmd/get.go | 4 ++-- cmd/install.go | 4 ++-- cmd/register.go | 4 ++-- cmd/root.go | 8 ++++---- cmd/uninstall.go | 2 +- go.mod | 7 +------ go.sum | 12 +----------- main.go | 2 +- pkg/cmd-util.go | 6 +++--- pkg/internal/cert-manager-setup.go | 2 +- pkg/internal/cluster-manifests.go | 2 +- pkg/internal/generate-kind-templates.go | 2 +- pkg/internal/get-network-info.go | 2 +- pkg/internal/helm-repo-add.go | 4 ++-- pkg/internal/install-calico.go | 2 +- pkg/internal/install-iperf.go | 2 +- pkg/internal/install-kubeslice-controller.go | 2 +- pkg/internal/install-kubeslice-enterprise.go | 2 +- pkg/internal/install-kubeslice-worker.go | 2 +- pkg/internal/kind-clusters.go | 2 +- pkg/internal/kubernetes-operation.go | 2 +- pkg/internal/print-next-steps.go | 2 +- pkg/internal/project-manifest.go | 2 +- pkg/internal/secrets.go | 2 +- pkg/internal/serviceExport.go | 2 +- pkg/internal/slice-config.go | 2 +- pkg/internal/verify-executables.go | 2 +- pkg/project.go | 2 +- pkg/secret.go | 2 +- pkg/serviceExport.go | 2 +- pkg/slice.go | 2 +- pkg/slicectl.go | 4 ++-- pkg/worker.go | 2 +- samples/custom-topology.yaml | 2 +- samples/kind-demo.yaml | 2 +- samples/template.yaml | 12 ++++++------ 41 files changed, 62 insertions(+), 77 deletions(-) diff --git a/README.md b/README.md index 12fe6bf..8e40bdd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # `kubeslice-cli` for simplified KubeSlice Operations -[comment]: <> (![Latest GitHub release](https://img.shields.io/github/release/kubeslice/slicectl.svg)) +[comment]: <> (![Latest GitHub release](https://img.shields.io/github/release/kubeslice/kubeslice-cli.svg)) This repository provides `kubeslice-cli` tool. [Install →](#installation) @@ -9,7 +9,7 @@ This repository provides `kubeslice-cli` tool. `kubeslice-cli` is a Go Lang executable utility which helps perform the KubeSlice operations like installation, demo, etc. on Kubernetes Clusters. You can download a suitable version of the installer from the [**Releases page -→**](https://github.com/kubeslice/slicectl/releases) +→**](https://github.com/kubeslice/kubeslice-cli/releases) ## Synopsis @@ -43,7 +43,7 @@ KubeSlice functionality ``` -c, --config string The yaml file with topology configuration. - Refer: https://github.com/kubeslice/slicectl/blob/master/samples/template.yaml + Refer: https://github.com/kubeslice/kubeslice-cli/blob/master/samples/template.yaml -h, --help help for kubeslice-cli -v, --version version for kubeslice-cli ``` diff --git a/cmd/create.go b/cmd/create.go index 3a54206..40af364 100644 --- a/cmd/create.go +++ b/cmd/create.go @@ -1,8 +1,8 @@ package cmd import ( - "github.com/kubeslice/slicectl/pkg" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/pkg" + "github.com/kubeslice/kubeslice-cli/util" "github.com/spf13/cobra" ) diff --git a/cmd/delete.go b/cmd/delete.go index d6f86c0..6a9fbf7 100644 --- a/cmd/delete.go +++ b/cmd/delete.go @@ -1,8 +1,8 @@ package cmd import ( - "github.com/kubeslice/slicectl/pkg" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/pkg" + "github.com/kubeslice/kubeslice-cli/util" "github.com/spf13/cobra" ) diff --git a/cmd/describe.go b/cmd/describe.go index 1daf3ad..459168c 100644 --- a/cmd/describe.go +++ b/cmd/describe.go @@ -1,8 +1,8 @@ package cmd import ( - "github.com/kubeslice/slicectl/pkg" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/pkg" + "github.com/kubeslice/kubeslice-cli/util" "github.com/spf13/cobra" ) diff --git a/cmd/edit.go b/cmd/edit.go index 8dadd62..c272507 100644 --- a/cmd/edit.go +++ b/cmd/edit.go @@ -1,8 +1,8 @@ package cmd import ( - "github.com/kubeslice/slicectl/pkg" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/pkg" + "github.com/kubeslice/kubeslice-cli/util" "github.com/spf13/cobra" ) diff --git a/cmd/get.go b/cmd/get.go index 6f5c2fe..6325cd3 100644 --- a/cmd/get.go +++ b/cmd/get.go @@ -1,8 +1,8 @@ package cmd import ( - "github.com/kubeslice/slicectl/pkg" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/pkg" + "github.com/kubeslice/kubeslice-cli/util" "github.com/spf13/cobra" ) diff --git a/cmd/install.go b/cmd/install.go index 099c409..a498c30 100644 --- a/cmd/install.go +++ b/cmd/install.go @@ -1,8 +1,8 @@ package cmd import ( - "github.com/kubeslice/slicectl/pkg" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/pkg" + "github.com/kubeslice/kubeslice-cli/util" "github.com/spf13/cobra" ) diff --git a/cmd/register.go b/cmd/register.go index 5879136..6916163 100644 --- a/cmd/register.go +++ b/cmd/register.go @@ -1,8 +1,8 @@ package cmd import ( - "github.com/kubeslice/slicectl/pkg" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/pkg" + "github.com/kubeslice/kubeslice-cli/util" "github.com/spf13/cobra" ) diff --git a/cmd/root.go b/cmd/root.go index 89b5f87..b3b3d51 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -10,7 +10,7 @@ import ( var Config string -var version = "0.3.1" +var version = "0.3.2" var rootCmd = &cobra.Command{ Use: "kubeslice-cli", Version: version, @@ -21,16 +21,16 @@ Use kubeslice-cli to install/uninstall required workloads to run KubeSlice Contr Additional example applications can also be installed in demo profiles to showcase the KubeSlice functionality`, Run: func(cmd *cobra.Command, args []string) { - + cmd.Help() }, } func Execute() { rootCmd.PersistentFlags().StringVarP(&Config, "config", "c", "", ` The yaml file with topology configuration. - Refer: https://github.com/kubeslice/slicectl/blob/master/samples/template.yaml`) + Refer: https://github.com/kubeslice/kubeslice-cli/blob/master/samples/template.yaml`) if err := rootCmd.Execute(); err != nil { - fmt.Fprintf(os.Stderr, "Whoops. There was an error while executing slicectl '%s'", err) + fmt.Fprintf(os.Stderr, "Whoops. There was an error while executing kubeslice-cli '%s'", err) os.Exit(1) } // Uncomment to generate docs for new commands/flags diff --git a/cmd/uninstall.go b/cmd/uninstall.go index 19ce91e..e77a9a1 100644 --- a/cmd/uninstall.go +++ b/cmd/uninstall.go @@ -1,7 +1,7 @@ package cmd import ( - "github.com/kubeslice/slicectl/pkg" + "github.com/kubeslice/kubeslice-cli/pkg" "github.com/spf13/cobra" ) diff --git a/go.mod b/go.mod index 16bb389..5741f0e 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/kubeslice/slicectl +module github.com/kubeslice/kubeslice-cli go 1.17 @@ -9,10 +9,6 @@ require ( ) require ( - github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect - github.com/kr/text v0.2.0 // indirect - github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect - github.com/russross/blackfriday/v2 v2.1.0 // indirect github.com/tidwall/gjson v1.14.2 // indirect github.com/tidwall/match v1.1.1 // indirect github.com/tidwall/pretty v1.2.0 // indirect @@ -23,5 +19,4 @@ require ( github.com/inconshreveable/mousetrap v1.0.1 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/tidwall/sjson v1.2.5 - gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect ) diff --git a/go.sum b/go.sum index 3018035..82be8d8 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,4 @@ -github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/go-yaml/yaml v2.1.0+incompatible h1:RYi2hDdss1u4YE7GwixGzWwVo47T8UQwnTLB6vQiq+o= @@ -8,13 +6,6 @@ github.com/go-yaml/yaml v2.1.0+incompatible/go.mod h1:w2MrLa16VYP0jy6N7M5kHaCkaL github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/inconshreveable/mousetrap v1.0.1 h1:U3uMjPSQEBMNp1lFxmllqCPM6P5u/Xq7Pgzkat/bFNc= github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/spf13/cobra v1.5.0 h1:X+jTBEBqF0bHN+9cSMgmfuvv2VHJ9ezmFNf9Y/XstYU= github.com/spf13/cobra v1.5.0/go.mod h1:dWXEIy2H428czQCjInthrTRUg7yKbok+2Qi/yBIJoUM= @@ -28,9 +19,8 @@ github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs= github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY= github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= diff --git a/main.go b/main.go index 6f8741e..44c0074 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,7 @@ package main import ( - "github.com/kubeslice/slicectl/cmd" + "github.com/kubeslice/kubeslice-cli/cmd" ) func main() { diff --git a/pkg/cmd-util.go b/pkg/cmd-util.go index babba1c..1882e4a 100644 --- a/pkg/cmd-util.go +++ b/pkg/cmd-util.go @@ -5,8 +5,8 @@ import ( "io/ioutil" "github.com/go-yaml/yaml" - "github.com/kubeslice/slicectl/pkg/internal" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/pkg/internal" + "github.com/kubeslice/kubeslice-cli/util" ) const ( @@ -69,7 +69,7 @@ var defaultConfiguration = &internal.ConfigurationSpecs{ }, HelmChartConfiguration: internal.HelmChartConfiguration{ RepoAlias: "kubeslice-demo", - RepoUrl: "https://kubeslice.github.io/charts/", + RepoUrl: "https://kubeslice.github.io/kubeslice/", CertManagerChart: internal.HelmChart{ ChartName: "cert-manager", }, diff --git a/pkg/internal/cert-manager-setup.go b/pkg/internal/cert-manager-setup.go index f496753..3f73b15 100644 --- a/pkg/internal/cert-manager-setup.go +++ b/pkg/internal/cert-manager-setup.go @@ -5,7 +5,7 @@ import ( "log" "time" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/util" ) func InstallCertManager(ApplicationConfiguration *ConfigurationSpecs) { diff --git a/pkg/internal/cluster-manifests.go b/pkg/internal/cluster-manifests.go index a2a53c3..6fa9dea 100644 --- a/pkg/internal/cluster-manifests.go +++ b/pkg/internal/cluster-manifests.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/util" ) const ( diff --git a/pkg/internal/generate-kind-templates.go b/pkg/internal/generate-kind-templates.go index df4170f..68a95d0 100644 --- a/pkg/internal/generate-kind-templates.go +++ b/pkg/internal/generate-kind-templates.go @@ -6,7 +6,7 @@ import ( "os" "time" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/util" ) const ( diff --git a/pkg/internal/get-network-info.go b/pkg/internal/get-network-info.go index 13896ff..3d85a15 100644 --- a/pkg/internal/get-network-info.go +++ b/pkg/internal/get-network-info.go @@ -7,7 +7,7 @@ import ( "strings" "time" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/util" ) func GatherNetworkInformation(ApplicationConfiguration *ConfigurationSpecs) { diff --git a/pkg/internal/helm-repo-add.go b/pkg/internal/helm-repo-add.go index 99412c1..413dbf4 100644 --- a/pkg/internal/helm-repo-add.go +++ b/pkg/internal/helm-repo-add.go @@ -5,7 +5,7 @@ import ( "log" "time" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/util" ) const imagePullSecretsTemplate = ` @@ -20,7 +20,7 @@ imagePullSecrets: func AddHelmCharts(ApplicationConfiguration *ConfigurationSpecs) { hc := ApplicationConfiguration.Configuration.HelmChartConfiguration - // helm repo add avesha https://kubeslice.github.io/charts/ + // helm repo add avesha https://kubeslice.github.io/kubeslice/ util.Printf("\nAdding KubeSlice Helm Charts...") addHelmChart(ApplicationConfiguration) diff --git a/pkg/internal/install-calico.go b/pkg/internal/install-calico.go index 43f676b..db01cd5 100644 --- a/pkg/internal/install-calico.go +++ b/pkg/internal/install-calico.go @@ -6,7 +6,7 @@ import ( "strings" "time" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/util" ) func InstallCalico(clusterConfig *ClusterConfiguration) { diff --git a/pkg/internal/install-iperf.go b/pkg/internal/install-iperf.go index eeda61a..06c5ad2 100644 --- a/pkg/internal/install-iperf.go +++ b/pkg/internal/install-iperf.go @@ -4,7 +4,7 @@ import ( "log" "time" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/util" ) const ( diff --git a/pkg/internal/install-kubeslice-controller.go b/pkg/internal/install-kubeslice-controller.go index 07d3215..6d9a629 100644 --- a/pkg/internal/install-kubeslice-controller.go +++ b/pkg/internal/install-kubeslice-controller.go @@ -5,7 +5,7 @@ import ( "log" "time" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/util" ) const ( diff --git a/pkg/internal/install-kubeslice-enterprise.go b/pkg/internal/install-kubeslice-enterprise.go index 7f821b6..776d86f 100644 --- a/pkg/internal/install-kubeslice-enterprise.go +++ b/pkg/internal/install-kubeslice-enterprise.go @@ -5,7 +5,7 @@ import ( "log" "time" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/util" ) const ( diff --git a/pkg/internal/install-kubeslice-worker.go b/pkg/internal/install-kubeslice-worker.go index 4aa2278..b2c616f 100644 --- a/pkg/internal/install-kubeslice-worker.go +++ b/pkg/internal/install-kubeslice-worker.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/util" ) const workerValuesTemplate = ` diff --git a/pkg/internal/kind-clusters.go b/pkg/internal/kind-clusters.go index c9a7e18..078dd3f 100644 --- a/pkg/internal/kind-clusters.go +++ b/pkg/internal/kind-clusters.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/util" ) const KubeconfigPath = kubesliceDirectory + "/kubeconfig.yaml" diff --git a/pkg/internal/kubernetes-operation.go b/pkg/internal/kubernetes-operation.go index b5285ac..c94c25f 100644 --- a/pkg/internal/kubernetes-operation.go +++ b/pkg/internal/kubernetes-operation.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/util" "github.com/tidwall/sjson" YAML "sigs.k8s.io/yaml" ) diff --git a/pkg/internal/print-next-steps.go b/pkg/internal/print-next-steps.go index 37e7ea3..1a1f6e3 100644 --- a/pkg/internal/print-next-steps.go +++ b/pkg/internal/print-next-steps.go @@ -4,7 +4,7 @@ import ( "fmt" "os/exec" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/util" ) const windowsEnvSet = ` diff --git a/pkg/internal/project-manifest.go b/pkg/internal/project-manifest.go index f2336d0..da877a7 100644 --- a/pkg/internal/project-manifest.go +++ b/pkg/internal/project-manifest.go @@ -4,7 +4,7 @@ import ( "fmt" "time" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/util" ) const ( diff --git a/pkg/internal/secrets.go b/pkg/internal/secrets.go index f3ba225..ed339d3 100644 --- a/pkg/internal/secrets.go +++ b/pkg/internal/secrets.go @@ -6,7 +6,7 @@ import ( "strings" "time" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/util" ) func GetSecrets(workerName string, namespace string, controllerCluster *Cluster, outputFormat string) { diff --git a/pkg/internal/serviceExport.go b/pkg/internal/serviceExport.go index f932156..6cd956e 100644 --- a/pkg/internal/serviceExport.go +++ b/pkg/internal/serviceExport.go @@ -3,7 +3,7 @@ package internal import ( "time" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/util" ) const ( diff --git a/pkg/internal/slice-config.go b/pkg/internal/slice-config.go index 0e18b4a..e5a68d3 100644 --- a/pkg/internal/slice-config.go +++ b/pkg/internal/slice-config.go @@ -5,7 +5,7 @@ import ( "strings" "time" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/util" ) const ( diff --git a/pkg/internal/verify-executables.go b/pkg/internal/verify-executables.go index 7f3d6cb..8ca5a81 100644 --- a/pkg/internal/verify-executables.go +++ b/pkg/internal/verify-executables.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/util" ) func VerifyExecutables(ApplicationConfiguration *ConfigurationSpecs) { diff --git a/pkg/project.go b/pkg/project.go index d0394dd..5160661 100644 --- a/pkg/project.go +++ b/pkg/project.go @@ -1,7 +1,7 @@ package pkg import ( - "github.com/kubeslice/slicectl/pkg/internal" + "github.com/kubeslice/kubeslice-cli/pkg/internal" ) func CreateProject() { diff --git a/pkg/secret.go b/pkg/secret.go index b0d5464..00868be 100644 --- a/pkg/secret.go +++ b/pkg/secret.go @@ -1,7 +1,7 @@ package pkg import ( - "github.com/kubeslice/slicectl/pkg/internal" + "github.com/kubeslice/kubeslice-cli/pkg/internal" ) func GetSecrets(worker string) { diff --git a/pkg/serviceExport.go b/pkg/serviceExport.go index d228e47..3b2d96c 100644 --- a/pkg/serviceExport.go +++ b/pkg/serviceExport.go @@ -1,7 +1,7 @@ package pkg import ( - "github.com/kubeslice/slicectl/pkg/internal" + "github.com/kubeslice/kubeslice-cli/pkg/internal" ) func CreateServiceExportConfig(filename string) { diff --git a/pkg/slice.go b/pkg/slice.go index 95717b8..e95f70b 100644 --- a/pkg/slice.go +++ b/pkg/slice.go @@ -1,7 +1,7 @@ package pkg import ( - "github.com/kubeslice/slicectl/pkg/internal" + "github.com/kubeslice/kubeslice-cli/pkg/internal" ) func CreateSliceConfig(worker []string) { diff --git a/pkg/slicectl.go b/pkg/slicectl.go index bbf7bd4..aa44d8e 100644 --- a/pkg/slicectl.go +++ b/pkg/slicectl.go @@ -3,8 +3,8 @@ package pkg import ( "time" - "github.com/kubeslice/slicectl/pkg/internal" - "github.com/kubeslice/slicectl/util" + "github.com/kubeslice/kubeslice-cli/pkg/internal" + "github.com/kubeslice/kubeslice-cli/util" ) func Install(skipSteps map[string]string) { diff --git a/pkg/worker.go b/pkg/worker.go index c194e98..4475d29 100644 --- a/pkg/worker.go +++ b/pkg/worker.go @@ -1,7 +1,7 @@ package pkg import ( - "github.com/kubeslice/slicectl/pkg/internal" + "github.com/kubeslice/kubeslice-cli/pkg/internal" ) func RegisterWorker() { diff --git a/samples/custom-topology.yaml b/samples/custom-topology.yaml index f8222fe..33ff1a4 100644 --- a/samples/custom-topology.yaml +++ b/samples/custom-topology.yaml @@ -21,7 +21,7 @@ configuration: project_name: preprod helm_chart_configuration: repo_alias: kubeslice - repo_url: https://kubeslice.github.io/charts/ + repo_url: https://kubeslice.github.io/kubeslice/ cert_manager_chart: chart_name: cert-manager controller_chart: diff --git a/samples/kind-demo.yaml b/samples/kind-demo.yaml index e7aaa26..c0b2cd0 100644 --- a/samples/kind-demo.yaml +++ b/samples/kind-demo.yaml @@ -10,7 +10,7 @@ configuration: project_name: demo helm_chart_configuration: repo_alias: kubeslice-demo - repo_url: https://kubeslice.github.io/charts/ + repo_url: https://kubeslice.github.io/kubeslice/ cert_manager_chart: chart_name: cert-manager controller_chart: diff --git a/samples/template.yaml b/samples/template.yaml index 35f1095..8bf525d 100644 --- a/samples/template.yaml +++ b/samples/template.yaml @@ -7,26 +7,26 @@ configuration: context_name: #{the name of the context to use from kubeconfig file; for topology only} kube_config_path: #{the path to kube config file to use for controller installation; for topology only.} #{This takes precedence over configuration.cluster_configuration.kube_config_path} - control_plane_address: #{the address of the control plane kube-apiserver. slicectl determines the address from kubeconfig} + control_plane_address: #{the address of the control plane kube-apiserver. kubeslice-cli determines the address from kubeconfig} #{Override this flag if the address in kubeconfig is not reachable by other clusters in topology} - node_ip: #{the IP address of one of the node in this cluster. slicectl determines this address from kubectl get nodes} + node_ip: #{the IP address of one of the node in this cluster. kubeslice-cli determines this address from kubectl get nodes} #{Override this flag to an address which is discoverable by other clusters in the topology} workers: #{specify the list of worker clusters} - name: #{the user defined name of the worker cluster} context_name: #{the name of the context to use from the kubeconfig file; for topology only} kube_config_path: #{the path to kube config file to use for worker installation; for topology only.} #{This takes precedence over configuration.cluster_configuration.kube_config_path} - control_plane_address: #{the address of the control plane kube-apiserver. slicectl determines the address from kubeconfig} + control_plane_address: #{the address of the control plane kube-apiserver. kubeslice-cli determines the address from kubeconfig} #{Override this flag if the address in kubeconfig is not reachable by other clusters in topology} - node_ip: #{the IP address of one of the node in this cluster. slicectl determines this address from kubectl get nodes} + node_ip: #{the IP address of one of the node in this cluster. kubeslice-cli determines this address from kubectl get nodes} #{Override this flag to an address which is discoverable by other clusters in the topology} - name: #{the user defined name of the worker cluster} context_name: #{the name of the context to use from the kubeconfig file; for topology only} kube_config_path: #{the path to kube config file to use for worker installation; for topology only.} #{This takes precedence over configuration.cluster_configuration.kube_config_path} - control_plane_address: #{the address of the control plane kube-apiserver. slicectl determines the address from kubeconfig} + control_plane_address: #{the address of the control plane kube-apiserver. kubeslice-cli determines the address from kubeconfig} #{Override this flag if the address in kubeconfig is not reachable by other clusters in topology} - node_ip: #{the IP address of one of the node in this cluster. slicectl determines this address from kubectl get nodes} + node_ip: #{the IP address of one of the node in this cluster. kubeslice-cli determines this address from kubectl get nodes} #{Override this flag to an address which is discoverable by other clusters in the topology} kubeslice_configuration: project_name: #{the name of the KubeSlice Project}