Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Introduce package detection #2311

Merged
merged 1 commit into from
Oct 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions cli/cmd/plugin/standalone-cluster/cluster/kind.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ nodes:
#! optional: set the protocol to one of TCP, UDP, SCTP.
#! TCP is the default
protocol: TCP
- role: worker
- role: worker
networking:
disableDefaultCNI: true`

Expand All @@ -41,15 +39,6 @@ func (kcm KindClusterManager) Create(opts *CreateOpts) (*KubernetesCluster, erro
clusterConfig := kindCluster.CreateWithKubeconfigPath(opts.KubeconfigPath)

// TODO(stmcginnis): Determine what we need to do for kind configuration
// generates the kind configuration -- TODO(joshrosso): should not exec ytt; use go lib
// command := exec.Command("ytt",
// "-f",
// "cli/cmd/plugin/standalone-cluster/hack/kind-config")
// parsedKindConfig, err := command.Output()
// if err != nil {
// fmt.Println(err.Error())
// return err
// }
parsedKindConfig := []byte(defaultKindConfig)
kindConfig := kindCluster.CreateWithRawConfig(parsedKindConfig)
err := kindProvider.Create(opts.Name, clusterConfig, kindConfig)
Expand Down
27 changes: 7 additions & 20 deletions cli/cmd/plugin/standalone-cluster/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,20 @@ module github.com/vmware-tanzu/community-edition/cli/cmd/plugin/standalone-clust
go 1.16

require (
github.com/cppforlife/go-cli-ui v0.0.0-20200506005011-4268990983cc
github.com/cppforlife/go-cli-ui v0.0.0-20200716203538-1e47f820817f
github.com/ghodss/yaml v1.0.0
github.com/k14s/imgpkg v0.6.0
github.com/k14s/ytt v0.37.0
github.com/spf13/cobra v1.2.1
github.com/vmware-tanzu/carvel-kapp-controller v0.20.0-rc.1
github.com/vmware-tanzu/carvel-vendir v0.19.0
github.com/vmware-tanzu/carvel-kapp-controller v0.28.0
github.com/vmware-tanzu/carvel-vendir v0.23.0
github.com/vmware-tanzu/tanzu-framework v1.4.0-pre-alpha-2.0.20210915174701-14fe0fdf4f0b
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
k8s.io/api v0.21.2
k8s.io/api v0.22.2
k8s.io/apiextensions-apiserver v0.21.2
k8s.io/apimachinery v0.21.2
k8s.io/client-go v1.5.2
k8s.io/klog/v2 v2.8.0
k8s.io/apimachinery v0.22.2
k8s.io/client-go v0.22.2
k8s.io/klog/v2 v2.9.0
k8s.io/kube-aggregator v0.19.2
sigs.k8s.io/kind v0.11.1
)

replace (
github.com/googleapis/gnostic => github.com/googleapis/gnostic v0.3.1 // indirect

k8s.io/api => k8s.io/api v0.17.11
k8s.io/apimachinery => k8s.io/apimachinery v0.17.11
k8s.io/client-go => k8s.io/client-go v0.17.11
k8s.io/kube-openapi => k8s.io/kube-openapi v0.0.0-20200410145947-bcb3869e6f29

sigs.k8s.io/cluster-api => github.com/vmware-tanzu/cluster-api v0.3.23-0.20210722162135-d31e78c28159
sigs.k8s.io/controller-runtime => sigs.k8s.io/controller-runtime v0.5.14
sigs.k8s.io/kind => sigs.k8s.io/kind v0.11.1
)
Loading