提交 f6e3e126 编写于 作者: M Matt Rickard

Group addon yamls into folders

上级 bf563b7a
......@@ -98,7 +98,7 @@ test: $(GOPATH)/src/$(ORG) pkg/minikube/assets/assets.go
./test.sh
pkg/minikube/assets/assets.go: out/localkube $(GOPATH)/bin/go-bindata deploy/addons
$(GOPATH)/bin/go-bindata -nomemcopy -o pkg/minikube/assets/assets.go -pkg assets ./out/localkube deploy/addons
$(GOPATH)/bin/go-bindata -nomemcopy -o pkg/minikube/assets/assets.go -pkg assets ./out/localkube deploy/addons/...
$(GOPATH)/bin/go-bindata: $(GOPATH)/src/$(ORG)
GOBIN=$(GOPATH)/bin go get github.com/jteeuwen/go-bindata/...
......
......@@ -64,51 +64,51 @@ var Addons = map[string]*Addon{
}, true, "addon-manager"),
"dashboard": NewAddon([]*MemoryAsset{
NewMemoryAsset(
"deploy/addons/dashboard-rc.yaml",
"deploy/addons/dashboard/dashboard-rc.yaml",
constants.AddonsPath,
"dashboard-rc.yaml",
"0640"),
NewMemoryAsset(
"deploy/addons/dashboard-svc.yaml",
"deploy/addons/dashboard/dashboard-svc.yaml",
constants.AddonsPath,
"dashboard-svc.yaml",
"0640"),
}, true, "dashboard"),
"kube-dns": NewAddon([]*MemoryAsset{
NewMemoryAsset(
"deploy/addons/kube-dns-rc.yaml",
"deploy/addons/kube-dns/kube-dns-rc.yaml",
constants.AddonsPath,
"kube-dns-rc.yaml",
"0640"),
NewMemoryAsset(
"deploy/addons/kube-dns-svc.yaml",
"deploy/addons/kube-dns/kube-dns-svc.yaml",
constants.AddonsPath,
"kube-dns-svc.yaml",
"0640"),
}, true, "kube-dns"),
"heapster": NewAddon([]*MemoryAsset{
NewMemoryAsset(
"deploy/addons/influxGrafana-rc.yaml",
"deploy/addons/heapster/influxGrafana-rc.yaml",
constants.AddonsPath,
"influxGrafana-rc.yaml",
"0640"),
NewMemoryAsset(
"deploy/addons/grafana-svc.yaml",
"deploy/addons/heapster/grafana-svc.yaml",
constants.AddonsPath,
"grafana-svc.yaml",
"0640"),
NewMemoryAsset(
"deploy/addons/influxdb-svc.yaml",
"deploy/addons/heapster/influxdb-svc.yaml",
constants.AddonsPath,
"influxdb-svc.yaml",
"0640"),
NewMemoryAsset(
"deploy/addons/heapster-rc.yaml",
"deploy/addons/heapster/heapster-rc.yaml",
constants.AddonsPath,
"heapster-rc.yaml",
"0640"),
NewMemoryAsset(
"deploy/addons/heapster-svc.yaml",
"deploy/addons/heapster/heapster-svc.yaml",
constants.AddonsPath,
"heapster-svc.yaml",
"0640"),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册