Apply Composer changes: comprehensive API updates, migrations, middleware, and infrastructure improvements

- Add comprehensive database migrations (001-024) for schema evolution
- Enhance API schema with expanded type definitions and resolvers
- Add new middleware: audit logging, rate limiting, MFA enforcement, security, tenant auth
- Implement new services: AI optimization, billing, blockchain, compliance, marketplace
- Add adapter layer for cloud integrations (Cloudflare, Kubernetes, Proxmox, storage)
- Update Crossplane provider with enhanced VM management capabilities
- Add comprehensive test suite for API endpoints and services
- Update frontend components with improved GraphQL subscriptions and real-time updates
- Enhance security configurations and headers (CSP, CORS, etc.)
- Update documentation and configuration files
- Add new CI/CD workflows and validation scripts
- Implement design system improvements and UI enhancements
This commit is contained in:
defiQUG
2025-12-12 18:01:35 -08:00
parent e01131efaf
commit 9daf1fd378
968 changed files with 160890 additions and 1092 deletions

55
cloudflare/dns/README.md Normal file
View File

@@ -0,0 +1,55 @@
# DNS Configuration for Proxmox Instances
## Quick Start
### Using Automated Script
```bash
export CLOUDFLARE_ZONE_ID="your-zone-id"
export CLOUDFLARE_API_TOKEN="your-api-token"
./scripts/setup-dns-records.sh
```
### Using Terraform
```bash
cd cloudflare/terraform
terraform init
terraform plan
terraform apply
```
### Using Local /etc/hosts (Testing)
```bash
sudo cat scripts/hosts-entries.txt >> /etc/hosts
```
## DNS Records
### Required Records
**Instance 1 (ML110-01):**
- `ml110-01.sankofa.nexus` → 192.168.11.10
- `ml110-01-api.sankofa.nexus` → ml110-01.sankofa.nexus
- `ml110-01-metrics.sankofa.nexus` → ml110-01.sankofa.nexus
**Instance 2 (R630-01):**
- `r630-01.sankofa.nexus` → 192.168.11.11
- `r630-01-api.sankofa.nexus` → r630-01.sankofa.nexus
- `r630-01-metrics.sankofa.nexus` → r630-01.sankofa.nexus
## Verification
```bash
# Test resolution
dig ml110-01.sankofa.nexus +short
dig r630-01.sankofa.nexus +short
# Test connectivity
curl -k https://ml110-01.sankofa.nexus:8006/api2/json/version
curl -k https://r630-01.sankofa.nexus:8006/api2/json/version
```
For detailed documentation, see [DNS Configuration Guide](../../docs/proxmox/DNS_CONFIGURATION.md).

View File

@@ -0,0 +1,87 @@
# Cloudflare DNS Records for sankofa.nexus
# Proxmox Instance DNS Configuration
#
# This file defines DNS records for Proxmox instances
# Use with Cloudflare API or Terraform to create records
apiVersion: v1
kind: ConfigMap
metadata:
name: proxmox-dns-records
namespace: default
data:
# Instance 1 (ML110-01) - Primary Records
ml110-01-a-record: |
{
"type": "A",
"name": "ml110-01.sankofa.nexus",
"content": "192.168.11.10",
"ttl": 300,
"proxied": false,
"comment": "Proxmox Instance 1 - ML110-01"
}
ml110-01-api-cname: |
{
"type": "CNAME",
"name": "ml110-01-api.sankofa.nexus",
"content": "ml110-01.sankofa.nexus",
"ttl": 300,
"proxied": false,
"comment": "Proxmox Instance 1 API endpoint"
}
ml110-01-metrics-cname: |
{
"type": "CNAME",
"name": "ml110-01-metrics.sankofa.nexus",
"content": "ml110-01.sankofa.nexus",
"ttl": 300,
"proxied": false,
"comment": "Proxmox Instance 1 metrics endpoint"
}
# Instance 2 (R630-01) - Primary Records
r630-01-a-record: |
{
"type": "A",
"name": "r630-01.sankofa.nexus",
"content": "192.168.11.11",
"ttl": 300,
"proxied": false,
"comment": "Proxmox Instance 2 - R630-01"
}
r630-01-api-cname: |
{
"type": "CNAME",
"name": "r630-01-api.sankofa.nexus",
"content": "r630-01.sankofa.nexus",
"ttl": 300,
"proxied": false,
"comment": "Proxmox Instance 2 API endpoint"
}
r630-01-metrics-cname: |
{
"type": "CNAME",
"name": "r630-01-metrics.sankofa.nexus",
"content": "r630-01.sankofa.nexus",
"ttl": 300,
"proxied": false,
"comment": "Proxmox Instance 2 metrics endpoint"
}
---
# DNS Records Summary
#
# A Records (Direct IP mapping):
# - ml110-01.sankofa.nexus → 192.168.11.10
# - r630-01.sankofa.nexus → 192.168.11.11
#
# CNAME Records (Aliases):
# - ml110-01-api.sankofa.nexus → ml110-01.sankofa.nexus
# - ml110-01-metrics.sankofa.nexus → ml110-01.sankofa.nexus
# - r630-01-api.sankofa.nexus → r630-01.sankofa.nexus
# - r630-01-metrics.sankofa.nexus → r630-01.sankofa.nexus

View File

@@ -0,0 +1,87 @@
# Cloudflare DNS Records for sankofa.nexus
# Proxmox Instance DNS Configuration
#
# This file defines DNS records for Proxmox instances
# Use with Cloudflare API or Terraform to create records
apiVersion: v1
kind: ConfigMap
metadata:
name: proxmox-dns-records
namespace: default
data:
# Instance 1 (ML110-01) - Primary Records
ml110-01-a-record: |
{
"type": "A",
"name": "ml110-01.sankofa.nexus",
"content": "192.168.11.10",
"ttl": 300,
"proxied": false,
"comment": "Proxmox Instance 1 - ML110-01"
}
ml110-01-api-cname: |
{
"type": "CNAME",
"name": "ml110-01-api.sankofa.nexus",
"content": "ml110-01.sankofa.nexus",
"ttl": 300,
"proxied": false,
"comment": "Proxmox Instance 1 API endpoint"
}
ml110-01-metrics-cname: |
{
"type": "CNAME",
"name": "ml110-01-metrics.sankofa.nexus",
"content": "ml110-01.sankofa.nexus",
"ttl": 300,
"proxied": false,
"comment": "Proxmox Instance 1 metrics endpoint"
}
# Instance 2 (R630-01) - Primary Records
r630-01-a-record: |
{
"type": "A",
"name": "r630-01.sankofa.nexus",
"content": "192.168.11.11",
"ttl": 300,
"proxied": false,
"comment": "Proxmox Instance 2 - R630-01"
}
r630-01-api-cname: |
{
"type": "CNAME",
"name": "r630-01-api.sankofa.nexus",
"content": "r630-01.sankofa.nexus",
"ttl": 300,
"proxied": false,
"comment": "Proxmox Instance 2 API endpoint"
}
r630-01-metrics-cname: |
{
"type": "CNAME",
"name": "r630-01-metrics.sankofa.nexus",
"content": "r630-01.sankofa.nexus",
"ttl": 300,
"proxied": false,
"comment": "Proxmox Instance 2 metrics endpoint"
}
---
# DNS Records Summary
#
# A Records (Direct IP mapping):
# - ml110-01.sankofa.nexus → 192.168.11.10
# - r630-01.sankofa.nexus → 192.168.11.11
#
# CNAME Records (Aliases):
# - ml110-01-api.sankofa.nexus → ml110-01.sankofa.nexus
# - ml110-01-metrics.sankofa.nexus → ml110-01.sankofa.nexus
# - r630-01-api.sankofa.nexus → r630-01.sankofa.nexus
# - r630-01-metrics.sankofa.nexus → r630-01.sankofa.nexus