Skip to content

Commit

Permalink
Merge pull request #1053 from kumahq/chore/cleanup_cni_templates
Browse files Browse the repository at this point in the history
chore(*) cleanup unneeded CNI templates and the relevant code
  • Loading branch information
Nikolay Nikolaev authored Oct 8, 2020
2 parents 78d5d5b + e071802 commit 7f58c62
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 418 deletions.
9 changes: 1 addition & 8 deletions app/kumactl/cmd/install/install_control_plane.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
kumactl_cmd "github.com/kumahq/kuma/app/kumactl/pkg/cmd"
"github.com/kumahq/kuma/app/kumactl/pkg/install/data"
controlplane "github.com/kumahq/kuma/app/kumactl/pkg/install/k8s/control-plane"
kumacni "github.com/kumahq/kuma/app/kumactl/pkg/install/k8s/kuma-cni"
kuma_cmd "github.com/kumahq/kuma/pkg/cmd"
"github.com/kumahq/kuma/pkg/config/core"
"github.com/kumahq/kuma/pkg/tls"
Expand Down Expand Up @@ -225,12 +224,6 @@ func InstallCpTemplateFiles(args InstallControlPlaneArgs) (data.FileList, error)
if err != nil {
return nil, err
}
if args.Cni_enabled {
templateCNI, err := data.ReadFiles(kumacni.Templates)
if err != nil {
return nil, err
}
templateFiles = append(templateFiles, templateCNI...)
}

return templateFiles, nil
}
137 changes: 0 additions & 137 deletions app/kumactl/data/install/k8s/kuma-cni/all-in-one-template.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions app/kumactl/pkg/install/k8s/kuma-cni/kumacni_suite_test.go

This file was deleted.

11 changes: 0 additions & 11 deletions app/kumactl/pkg/install/k8s/kuma-cni/templates.go

This file was deleted.

19 changes: 0 additions & 19 deletions app/kumactl/pkg/install/k8s/kuma-cni/templates_dev.go

This file was deleted.

186 changes: 0 additions & 186 deletions app/kumactl/pkg/install/k8s/kuma-cni/templates_vfsdata.go

This file was deleted.

Loading

0 comments on commit 7f58c62

Please sign in to comment.