Skip to content

Commit

Permalink
Added button to command line page to download kubeconfig
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Weber <jim@heptio.com>
  • Loading branch information
Jim Weber committed Jun 13, 2018
1 parent 7ded804 commit 4e1e7d1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
27 changes: 25 additions & 2 deletions cmd/gangway/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions templates/commandline.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ kubectl config set-context {{ .ClusterName }} --cluster={{ .ClusterName }} --use
kubectl config use-context {{ .ClusterName }}
</code>
</pre>
<div class="row right">
<a href="/kubeconf" class="btn-large waves-effect waves-light blue">Download Kubeconfig</a>
</div>
</div>
</body>
</html>

0 comments on commit 4e1e7d1

Please sign in to comment.