From 608c4c145fcb9158df22df7d63c13b082422c741 Mon Sep 17 00:00:00 2001 From: jmccormick2001 Date: Mon, 2 Mar 2015 16:47:42 -0500 Subject: [PATCH 1/2] fix osc create example to include cert dir kubconfig parameter --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a18895aedb72..04b7d7234932 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ Once setup with a Go development environment and Docker, you can: 3. In another terminal window, switch to the directory and start an app: $ cd $GOPATH/src/github.com/openshift/origin - $ _output/local/go/bin/osc create -f examples/hello-openshift/hello-pod.json + $ _output/local/go/bin/osc create -f examples/hello-openshift/hello-pod.json --kubeconfig=$CERT_DIR/admin/.kubeconfig In your browser, go to [http://localhost:6061](http://localhost:6061) and you should see 'Welcome to OpenShift'. From 231cb26fe4f88dc62127e8ecab0c19b5869c29ef Mon Sep 17 00:00:00 2001 From: jmccormick2001 Date: Wed, 4 Mar 2015 14:00:30 -0500 Subject: [PATCH 2/2] add export KUBECONFIG to osc create example --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 04b7d7234932..6055ac62c913 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,8 @@ Once setup with a Go development environment and Docker, you can: 3. In another terminal window, switch to the directory and start an app: $ cd $GOPATH/src/github.com/openshift/origin - $ _output/local/go/bin/osc create -f examples/hello-openshift/hello-pod.json --kubeconfig=$CERT_DIR/admin/.kubeconfig + $ export KUBECONFIG=`pwd`/openshift.local.certificates/admin/.kubeconfig + $ _output/local/go/bin/osc create -f examples/hello-openshift/hello-pod.json In your browser, go to [http://localhost:6061](http://localhost:6061) and you should see 'Welcome to OpenShift'.