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:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user