diff --git a/README.md b/README.md index 49cba4ed053..e7c8b1b562f 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,9 @@ At a high level an operator using the SDK processes events for watched resources First, checkout and install the operator-sdk CLI: ```sh +$ cd $GOPATH/src/github.com/coreos/operator-sdk $ git checkout tags/v0.0.2 +$ dep ensure $ go install github.com/coreos/operator-sdk/commands/operator-sdk ``` diff --git a/doc/user-guide.md b/doc/user-guide.md index 9aa199bcd8c..4d02ef8417f 100644 --- a/doc/user-guide.md +++ b/doc/user-guide.md @@ -19,7 +19,9 @@ The Operator SDK has a CLI tool that helps the developer to create, build, and d Checkout the desired release tag and install the SDK CLI tool: ```sh +$ cd $GOPATH/src/github.com/coreos/operator-sdk $ git checkout tags/v0.0.2 +$ dep ensure $ go install github.com/coreos/operator-sdk/commands/operator-sdk ``` @@ -202,7 +204,7 @@ $ kubectl delete -f deploy/cr.yaml $ kubectl delete -f deploy/operator.yaml ``` -[memcached_handler]: ../example/memcached-operator/handler.go +[memcached_handler]: ../example/memcached-operator/handler.go.tmpl [layout_doc]:./project_layout.md [dep_tool]:https://golang.github.io/dep/docs/installation.html [go_tool]:https://golang.org/dl/ diff --git a/example/memcached-operator/handler.go b/example/memcached-operator/handler.go.tmpl similarity index 100% rename from example/memcached-operator/handler.go rename to example/memcached-operator/handler.go.tmpl