Initial Phoenix Sankofa Cloud setup
- Complete project structure with Next.js frontend - GraphQL API backend with Apollo Server - Portal application with NextAuth - Crossplane Proxmox provider - GitOps configurations - CI/CD pipelines - Testing infrastructure (Vitest, Jest, Go tests) - Error handling and monitoring - Security hardening - UI component library - Documentation
This commit is contained in:
22
gitops/overlays/dev/kustomization.yaml
Normal file
22
gitops/overlays/dev/kustomization.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: default
|
||||
|
||||
resources:
|
||||
- ../../base
|
||||
|
||||
patchesStrategicMerge:
|
||||
- patches/namespace-patch.yaml
|
||||
- patches/resource-limits-patch.yaml
|
||||
|
||||
configMapGenerator:
|
||||
- name: environment-config
|
||||
literals:
|
||||
- ENV=development
|
||||
- LOG_LEVEL=debug
|
||||
- REPLICAS=1
|
||||
|
||||
commonLabels:
|
||||
environment: development
|
||||
|
||||
7
gitops/overlays/dev/patches/namespace-patch.yaml
Normal file
7
gitops/overlays/dev/patches/namespace-patch.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: portal
|
||||
labels:
|
||||
environment: development
|
||||
|
||||
19
gitops/overlays/dev/patches/resource-limits-patch.yaml
Normal file
19
gitops/overlays/dev/patches/resource-limits-patch.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: portal
|
||||
namespace: portal
|
||||
spec:
|
||||
replicas: 1
|
||||
template:
|
||||
spec:
|
||||
containers:
|
||||
- name: portal
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 256Mi
|
||||
limits:
|
||||
cpu: 500m
|
||||
memory: 1Gi
|
||||
|
||||
Reference in New Issue
Block a user