diff --git a/Makefile b/Makefile index 79fd02437..573807817 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -SUBDIRS := expandybird/. resourcifier/. manager/. client/. +SUBDIRS := expandybird/. resourcifier/. manager/. TARGETS := all build test push container clean SUBDIRS_TARGETS := \ diff --git a/client/Makefile b/client/Makefile deleted file mode 100644 index ccbb326fb..000000000 --- a/client/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -# Makefile for the Docker image gcr.io/$(PROJECT)/expandybird -# MAINTAINER: Jack Greenfield -# If you update this image please check the tag value before pushing. - -.PHONY : all build test push container clean - -test: client - client --action=expand test/guestbook.yaml test/replicatedservice.py test/redis.jinja > /dev/null - -client: - go get -v ./... - go install -v ./... diff --git a/client/client.go b/client/client.go index e47431a9c..746fe1fe6 100644 --- a/client/client.go +++ b/client/client.go @@ -38,18 +38,17 @@ import ( var ( action = flag.String("action", "deploy", "expand | deploy | list | get | delete | update | listtypes | listtypeinstances | types") name = flag.String("name", "", "Name of template or deployment") - service = flag.String("service", "http://localhost:8080", "URL for deployment manager") - type_registry = flag.String("type_registry", "kubernetes/deployment-manager", "Type registry [owner/repo], defaults to kubernetes/deployment-manager") - binary = flag.String("binary", "../expandybird/expansion/expansion.py", - "Path to template expansion binary") - - properties = flag.String("properties", "", "Properties to use when deploying a type (e.g., --properties k1=v1,k2=v2)") + service = flag.String("service", "http://localhost:8001/api/v1/proxy/namespaces/default/services/manager-service:manager", "URL for deployment manager") + type_registry = flag.String("registry", "kubernetes/deployment-manager", "Type registry [owner/repo], defaults to kubernetes/deployment-manager") + binary = flag.String("binary", "../expandybird/expansion/expansion.py", "Path to template expansion binary") + properties = flag.String("properties", "", "Properties to use when deploying a type (e.g., --properties k1=v1,k2=v2)") ) var usage = func() { message := "usage: %s [] (name | (