1
0
mirror of https://github.com/ubuntu/microk8s.git synced 2021-05-23 02:23:41 +03:00

Install integrator snaps along side MicroK8s (#1874)

This commit is contained in:
Joe Borg
2021-01-08 03:41:38 -05:00
committed by GitHub
parent 8ff0f4ab3b
commit e003e80ecc

View File

@@ -156,6 +156,10 @@ class Provider(abc.ABC):
def _setup_microk8s(self, specs: Dict) -> None:
self.run("snap install microk8s --classic --channel {}".format(specs['channel']).split())
if sys.platform == "win32":
self.run("snap install microk8s-integrator-windows".split())
elif sys.platform == "darwin":
self.run("snap install microk8s-integrator-macos".split())
def _get_env_command(self) -> Sequence[str]:
"""Get command sequence for `env` with configured flags."""