- 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.
111 lines
3.9 KiB
HTML
111 lines
3.9 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Kubernetes Odoo Manager</title>
|
|
<style>
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
line-height: 1.6;
|
|
color: #333;
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
.header {
|
|
text-align: center;
|
|
margin-bottom: 40px;
|
|
padding: 20px;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
border-radius: 10px;
|
|
}
|
|
.feature {
|
|
background: #f8f9fa;
|
|
padding: 20px;
|
|
margin: 20px 0;
|
|
border-left: 4px solid #667eea;
|
|
border-radius: 5px;
|
|
}
|
|
.feature h3 {
|
|
margin-top: 0;
|
|
color: #667eea;
|
|
}
|
|
.screenshot {
|
|
text-align: center;
|
|
margin: 30px 0;
|
|
}
|
|
.screenshot img {
|
|
max-width: 100%;
|
|
border: 1px solid #ddd;
|
|
border-radius: 5px;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
|
|
}
|
|
.tech-stack {
|
|
background: #e8f4fd;
|
|
padding: 15px;
|
|
border-radius: 5px;
|
|
margin: 20px 0;
|
|
}
|
|
.tech-stack ul {
|
|
margin: 0;
|
|
padding-left: 20px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="header">
|
|
<h1>🚀 Kubernetes Odoo Manager</h1>
|
|
<p>Manage your Odoo instances across multiple Kubernetes clusters from a single interface</p>
|
|
</div>
|
|
|
|
<div class="feature">
|
|
<h3>🔗 Multi-Cluster Management</h3>
|
|
<p>Connect to multiple Kubernetes clusters and manage all your Odoo instances from one central location. Securely store kubeconfig files and test connections with a single click.</p>
|
|
</div>
|
|
|
|
<div class="feature">
|
|
<h3>📊 Real-time Monitoring</h3>
|
|
<p>Monitor the status of all your Odoo instances in real-time. See which instances are running, upgrading, or restoring. Get instant visibility into your entire Odoo infrastructure.</p>
|
|
</div>
|
|
|
|
<div class="feature">
|
|
<h3>🔄 Automatic Synchronization</h3>
|
|
<p>Automatically discover and synchronize OdooInstance custom resources from your Kubernetes clusters. Keep your management interface up-to-date with scheduled sync jobs.</p>
|
|
</div>
|
|
|
|
<div class="feature">
|
|
<h3>🎯 Centralized Dashboard</h3>
|
|
<p>Beautiful dashboard showing cluster health, instance counts, and recent activity. Quick access to all management functions with an intuitive user interface.</p>
|
|
</div>
|
|
|
|
<div class="tech-stack">
|
|
<h3>Technical Features</h3>
|
|
<ul>
|
|
<li>Secure kubeconfig storage with encryption</li>
|
|
<li>Kubernetes API integration using official Python client</li>
|
|
<li>Support for OdooInstance CRDs (bemade.org/v1)</li>
|
|
<li>Real-time status synchronization</li>
|
|
<li>Connection testing and health monitoring</li>
|
|
<li>Automated periodic sync jobs</li>
|
|
<li>Role-based access control</li>
|
|
<li>Responsive web interface</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="feature">
|
|
<h3>🔐 Security & Access Control</h3>
|
|
<p>Built-in security groups for users and managers. Kubeconfig data is securely stored and access is controlled through Odoo's permission system.</p>
|
|
</div>
|
|
|
|
<div class="feature">
|
|
<h3>🛠️ Easy Setup</h3>
|
|
<p>Simple installation and configuration. Just add your cluster kubeconfig files and start managing your Odoo instances immediately.</p>
|
|
</div>
|
|
|
|
<div style="text-align: center; margin-top: 40px; padding: 20px; background: #f8f9fa; border-radius: 10px;">
|
|
<h3>Ready to get started?</h3>
|
|
<p>Install the module and add your first Kubernetes cluster to begin managing your Odoo instances like a pro!</p>
|
|
</div>
|
|
</body>
|
|
</html>
|