Fix issues

This commit is contained in:
Urtzi Alfaro
2025-10-01 16:25:53 +02:00
parent 36b44c41f1
commit 0fdc3b0211
20 changed files with 246 additions and 1326 deletions

View File

@@ -1,20 +0,0 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: bakery-config
namespace: bakery-ia
data:
# Development specific overrides
ENVIRONMENT: "development"
DEBUG: "true"
LOG_LEVEL: "DEBUG"
AUTO_RELOAD: "true"
PROFILING_ENABLED: "true"
MOCK_EXTERNAL_APIS: "true"
# CORS Configuration for Development
CORS_ORIGINS: "http://frontend-service:3000,http://localhost:3000,http://localhost:3001,http://localhost,http://127.0.0.1:3000,http://127.0.0.1:3001,http://bakery-ia.local,https://localhost,https://127.0.0.1"
# Frontend Development Configuration
VITE_ENVIRONMENT: "development"
VITE_API_URL: "/api"

View File

@@ -11,7 +11,6 @@ resources:
- dev-ingress.yaml
patches:
- path: dev-patches.yaml
- target:
group: apps
version: v1
@@ -487,13 +486,41 @@ patches:
cpu: "500m"
configMapGenerator:
- name: bakery-dev-config
- name: bakery-config
behavior: merge
literals:
# Environment & Build Settings
- ENVIRONMENT=development
- DEBUG=true
- LOG_LEVEL=DEBUG
- AUTO_RELOAD=true
- PROFILING_ENABLED=true
- MOCK_EXTERNAL_APIS=true
- TESTING=false
- DOMAIN=localhost
- API_DOCS_ENABLED=true
# CORS Configuration for Development
- CORS_ORIGINS=http://frontend-service:3000,http://localhost:3000,http://localhost:3001,http://localhost,http://127.0.0.1:3000,http://127.0.0.1:3001,http://bakery-ia.local,https://localhost,https://127.0.0.1
# Frontend Development Configuration
- VITE_ENVIRONMENT=development
- VITE_API_URL=/api
# Payment Configuration (Sandbox for dev)
- STRIPE_PUBLISHABLE_KEY=pk_test_your_stripe_publishable_key_here
- SQUARE_ENVIRONMENT=sandbox
- TOAST_ENVIRONMENT=sandbox
- LIGHTSPEED_ENVIRONMENT=sandbox
# Rate Limiting (Disabled for dev)
- RATE_LIMIT_ENABLED=false
# Database (Development mode)
- DB_FORCE_RECREATE=false
- DEVELOPMENT_MODE=true
- DEBUG_LOGGING=true
- SKIP_MIGRATION_VERSION_CHECK=false
secretGenerator:
- name: dev-secrets