Files
Sankofa/gitops/apps/frontend/manifests/deployment.yaml
defiQUG 9daf1fd378 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
2025-12-12 18:01:35 -08:00

87 lines
1.7 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: sankofa-frontend
namespace: sankofa
labels:
app: sankofa-frontend
spec:
replicas: 2
selector:
matchLabels:
app: sankofa-frontend
template:
metadata:
labels:
app: sankofa-frontend
spec:
containers:
- name: frontend
image: sankofa-frontend:latest
ports:
- containerPort: 3000
name: http
env:
- name: NEXT_PUBLIC_GRAPHQL_ENDPOINT
valueFrom:
configMapKeyRef:
name: sankofa-frontend-config
key: graphql-endpoint
- name: NODE_ENV
value: "production"
resources:
requests:
cpu: 250m
memory: 256Mi
limits:
cpu: 1000m
memory: 1Gi
livenessProbe:
httpGet:
path: /api/health
port: 3000
initialDelaySeconds: 30
periodSeconds: 10
readinessProbe:
httpGet:
path: /api/health
port: 3000
initialDelaySeconds: 10
periodSeconds: 5
---
apiVersion: v1
kind: Service
metadata:
name: sankofa-frontend
namespace: sankofa
labels:
app: sankofa-frontend
spec:
type: ClusterIP
ports:
- port: 3000
targetPort: 3000
protocol: TCP
name: http
selector:
app: sankofa-frontend
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: sankofa-frontend
namespace: sankofa
spec:
rules:
- host: sankofa.local
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: sankofa-frontend
port:
number: 3000