# Development environment overrides
# These values override the base deployment for development

apiVersion: apps/v1
kind: Deployment
metadata:
  name: veza-backend-api
  namespace: veza-development
spec:
  replicas: 1  # Single replica for dev
  template:
    spec:
      containers:
      - name: backend-api
        env:
        - name: APP_ENV
          value: "development"
        - name: LOG_LEVEL
          value: "DEBUG"
        - name: ENABLE_PROFILING
          value: "true"
        resources:
          requests:
            cpu: "100m"
            memory: "256Mi"
          limits:
            cpu: "500m"
            memory: "512Mi"

---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: veza-frontend
  namespace: veza-development
spec:
  replicas: 1  # Single replica for dev
  template:
    spec:
      containers:
      - name: frontend
        env:
        - name: VITE_APP_ENV
          value: "development"
        - name: VITE_API_URL
          value: "http://localhost:8080"
        resources:
          requests:
            cpu: "50m"
            memory: "64Mi"
          limits:
            cpu: "200m"
            memory: "128Mi"

