- Adds the k8s.cluster and k8s.odoo.instance models - Successful connection test (ignoring SSL self-signed cert error) - Successfully pulls OdooInstance information from the cluster Further work roadmap: - Fix the SSL issue (cluster-side, most likely) - Get rid of the text fields containing straight JSON and convert to appropriately typed Odoo fields (on read). - Allow updating OdooInstance fields and writing patches back to the cluster. Failed patch should result in a failed write and reverting back to actual cluster status.
25 lines
792 B
XML
25 lines
792 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- Main Menu -->
|
|
<menuitem id="menu_k8s_main"
|
|
name="Kubernetes"
|
|
sequence="100"
|
|
groups="group_k8s_user"
|
|
web_icon="k8s_odoo_manager,static/description/icon.svg"/>
|
|
|
|
<!-- Clusters Menu -->
|
|
<menuitem id="menu_k8s_clusters"
|
|
name="Clusters"
|
|
parent="menu_k8s_main"
|
|
action="action_k8s_cluster"
|
|
sequence="10"
|
|
groups="group_k8s_user"/>
|
|
|
|
<!-- Instances Menu -->
|
|
<menuitem id="menu_k8s_instances"
|
|
name="Odoo Instances"
|
|
parent="menu_k8s_main"
|
|
action="action_k8s_odoo_instance"
|
|
sequence="20"
|
|
groups="group_k8s_user"/>
|
|
</odoo>
|