Group addon yamls into folders

pull/895/head
Matt Rickard 2016-12-07 10:49:03 -08:00
parent bf563b7adc
commit f6e3e12655
11 changed files with 10 additions and 10 deletions

View File

@ -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/...

View File

@ -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"),