Skip to content

Commit

Permalink
Add Make target to get KUBERNETES_MASTER env var
Browse files Browse the repository at this point in the history
  • Loading branch information
mlafeldt committed Dec 4, 2015
1 parent 489ed9c commit 1002984
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,14 @@ destroy: venv
-e dcos_channel="$(DCOS_CHANNEL)" \
-e dcos_master_setup="$(DCOS_MASTER_SETUP)"

kubernetes: venv
kubernetes: kubernetes-install kubernetes-env

kubernetes-install: venv
venv/bin/ansible-playbook -v kubernetes.yml

kubernetes-env:
@echo KUBERNETES_MASTER=$$(./dcos config show core.dcos_url)/service/kubernetes/api

dashboard:
@open $$(./dcos config show core.dcos_url)

Expand Down

0 comments on commit 1002984

Please sign in to comment.