Refactoring MON Charm to use Operator Framework 50/9950/10
authorsousaedu <eduardo.sousa@canonical.com>
Wed, 4 Nov 2020 17:43:47 +0000 (17:43 +0000)
committerbeierlm <mark.beierl@canonical.com>
Mon, 23 Nov 2020 16:09:45 +0000 (17:09 +0100)
commit1dd4c0d0edbeb0579540f094930743d47dce5174
treecc84fbe646c8fcd6ae7c850d7ab132fc818642a0
parentabe7321ec4e652cdb0f359169788a6c8ac9295f8
Refactoring MON Charm to use Operator Framework

This refactoring work includes tests.

Note 1: old charm is in mon-k8s folder.
Note 2: relation-departed is currently not tested because there is
        no function to remove a relation in the Testing Harness.
        There is currently one issue open and the Charmcraft team
        should provide feedback soon.

Change-Id: I57337260579975a1d07157d616acac5bcbef0577
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
12 files changed:
installers/charm/mon/.gitignore [new file with mode: 0644]
installers/charm/mon/.yamllint.yaml [new file with mode: 0644]
installers/charm/mon/README.md [new file with mode: 0644]
installers/charm/mon/config.yaml [new file with mode: 0644]
installers/charm/mon/metadata.yaml [new file with mode: 0644]
installers/charm/mon/requirements.txt [new file with mode: 0644]
installers/charm/mon/src/charm.py [new file with mode: 0755]
installers/charm/mon/src/pod_spec.py [new file with mode: 0644]
installers/charm/mon/tests/__init__.py [new file with mode: 0644]
installers/charm/mon/tests/test_charm.py [new file with mode: 0644]
installers/charm/mon/tests/test_pod_spec.py [new file with mode: 0644]
installers/charm/mon/tox.ini [new file with mode: 0644]