Skip to content

Commit

Permalink
fix setting kube master for the api server
Browse files Browse the repository at this point in the history
  • Loading branch information
rmb938 committed Jan 13, 2018
1 parent c894049 commit d8d525a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deli/counter/http/mounts/root/mount.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def __setup_kubernetes(self):
if settings.KUBE_CONFIG is not None:
config.load_kube_config(config_file=settings.KUBE_CONFIG)
if settings.KUBE_MASTER is not None:
Configuration.host = settings.KUBE_MASTER
Configuration._default.host = settings.KUBE_MASTER
else:
config.load_incluster_config()

Expand Down

0 comments on commit d8d525a

Please sign in to comment.