- 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.
63 lines
1.7 KiB
Python
63 lines
1.7 KiB
Python
{
|
|
'name': 'Kubernetes Odoo Manager',
|
|
'version': '18.0.1.0.0',
|
|
'category': 'Administration/Kubernetes',
|
|
'summary': 'Manage Odoo instances through Kubernetes operator',
|
|
'description': """
|
|
Kubernetes Odoo Manager
|
|
=======================
|
|
This module allows you to:
|
|
* Connect to Kubernetes clusters running the Odoo operator
|
|
* Manage OdooInstance custom resources
|
|
* Monitor instance status and health
|
|
* Perform operations on managed Odoo instances
|
|
|
|
Features:
|
|
* Cluster connection management with secure kubeconfig storage
|
|
* Real-time OdooInstance discovery and synchronization
|
|
* Status monitoring and alerting
|
|
* Centralized management interface for multiple clusters
|
|
""",
|
|
'author': 'Bemade Inc.',
|
|
'website': 'https://www.bemade.org',
|
|
'license': 'OPL-1',
|
|
'depends': [
|
|
'base',
|
|
'web',
|
|
'mail',
|
|
],
|
|
'data': [
|
|
# Security
|
|
'security/k8s_security.xml',
|
|
'security/ir.model.access.csv',
|
|
|
|
# Data
|
|
'data/k8s_data.xml',
|
|
|
|
# Views
|
|
'views/k8s_cluster_views.xml',
|
|
'views/k8s_odoo_instance_views.xml',
|
|
'views/k8s_menu_views.xml',
|
|
|
|
# Wizards
|
|
'wizards/k8s_cluster_test_wizard_views.xml',
|
|
'wizards/k8s_sync_instances_wizard_views.xml',
|
|
],
|
|
'demo': [],
|
|
'installable': True,
|
|
'application': True,
|
|
'auto_install': False,
|
|
'external_dependencies': {
|
|
'python': [
|
|
'kubernetes',
|
|
'pyyaml',
|
|
],
|
|
},
|
|
'assets': {
|
|
'web.assets_backend': [
|
|
'k8s_odoo_manager/static/src/css/k8s_manager.css',
|
|
'k8s_odoo_manager/static/src/js/k8s_dashboard.js',
|
|
'k8s_odoo_manager/static/src/xml/k8s_dashboard.xml',
|
|
],
|
|
},
|
|
}
|