mirror of
https://github.com/ubuntu/microk8s.git
synced 2021-05-23 02:23:41 +03:00
Portainer add-on (#1650)
This commit is contained in:
@@ -22,6 +22,7 @@ from validators import (
|
||||
validate_kubeflow,
|
||||
validate_metallb_config,
|
||||
validate_prometheus,
|
||||
validate_portainer,
|
||||
)
|
||||
from utils import (
|
||||
microk8s_enable,
|
||||
@@ -322,6 +323,17 @@ class TestAddons(object):
|
||||
print("Disabling Multus")
|
||||
microk8s_disable("multus")
|
||||
|
||||
def test_portainer(self):
|
||||
"""
|
||||
Sets up and validates Portainer.
|
||||
"""
|
||||
print("Enabling Portainer")
|
||||
microk8s_enable("portainer")
|
||||
print("Validating Portainer")
|
||||
validate_portainer()
|
||||
print("Disabling Portainer")
|
||||
microk8s_disable("portainer")
|
||||
|
||||
def test_backup_restore(self):
|
||||
"""
|
||||
Test backup and restore commands.
|
||||
|
||||
Reference in New Issue
Block a user