2025-09-27 11:18:13 +02:00
|
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
|
|
|
kind: Kustomization
|
|
|
|
|
|
|
|
|
|
metadata:
|
|
|
|
|
name: bakery-ia-base
|
|
|
|
|
|
|
|
|
|
resources:
|
|
|
|
|
# Base configuration
|
|
|
|
|
- namespace.yaml
|
|
|
|
|
- configmap.yaml
|
|
|
|
|
- secrets.yaml
|
2025-09-28 19:48:05 +02:00
|
|
|
- ingress-https.yaml
|
2025-09-27 11:18:13 +02:00
|
|
|
|
2025-10-19 19:22:37 +02:00
|
|
|
# TLS configuration
|
|
|
|
|
- configmaps/postgres-logging-config.yaml
|
|
|
|
|
- secrets/postgres-tls-secret.yaml
|
|
|
|
|
- secrets/redis-tls-secret.yaml
|
2025-11-30 16:29:38 +01:00
|
|
|
- secrets/demo-internal-api-key-secret.yaml
|
2025-09-30 21:58:10 +02:00
|
|
|
|
2025-09-30 08:12:45 +02:00
|
|
|
# Additional configs
|
|
|
|
|
- configs/postgres-init-config.yaml
|
|
|
|
|
|
|
|
|
|
# Migration jobs
|
|
|
|
|
- migrations/auth-migration-job.yaml
|
|
|
|
|
- migrations/tenant-migration-job.yaml
|
2025-10-17 18:14:28 +02:00
|
|
|
- migrations/tenant-seed-pilot-coupon-job.yaml
|
2025-09-30 08:12:45 +02:00
|
|
|
- migrations/training-migration-job.yaml
|
|
|
|
|
- migrations/forecasting-migration-job.yaml
|
|
|
|
|
- migrations/sales-migration-job.yaml
|
|
|
|
|
- migrations/external-migration-job.yaml
|
|
|
|
|
- migrations/notification-migration-job.yaml
|
|
|
|
|
- migrations/inventory-migration-job.yaml
|
|
|
|
|
- migrations/recipes-migration-job.yaml
|
|
|
|
|
- migrations/suppliers-migration-job.yaml
|
|
|
|
|
- migrations/pos-migration-job.yaml
|
|
|
|
|
- migrations/orders-migration-job.yaml
|
|
|
|
|
- migrations/production-migration-job.yaml
|
|
|
|
|
- migrations/alert-processor-migration-job.yaml
|
2025-10-03 14:09:34 +02:00
|
|
|
- migrations/demo-session-migration-job.yaml
|
2025-10-30 21:08:07 +01:00
|
|
|
- migrations/procurement-migration-job.yaml
|
|
|
|
|
- migrations/orchestrator-migration-job.yaml
|
2025-11-05 13:34:56 +01:00
|
|
|
- migrations/ai-insights-migration-job.yaml
|
2025-11-30 09:12:40 +01:00
|
|
|
- migrations/distribution-migration-job.yaml
|
2025-10-03 14:09:34 +02:00
|
|
|
|
2025-10-17 07:31:14 +02:00
|
|
|
# Demo initialization jobs (in Helm hook weight order)
|
2025-10-03 14:09:34 +02:00
|
|
|
- jobs/demo-seed-rbac.yaml
|
|
|
|
|
- jobs/demo-seed-users-job.yaml
|
|
|
|
|
- jobs/demo-seed-tenants-job.yaml
|
2025-10-17 07:31:14 +02:00
|
|
|
- jobs/demo-seed-tenant-members-job.yaml
|
2025-10-12 18:47:33 +02:00
|
|
|
- jobs/demo-seed-subscriptions-job.yaml
|
2025-10-03 14:09:34 +02:00
|
|
|
- jobs/demo-seed-inventory-job.yaml
|
2025-10-12 18:47:33 +02:00
|
|
|
- jobs/demo-seed-recipes-job.yaml
|
|
|
|
|
- jobs/demo-seed-suppliers-job.yaml
|
2025-10-21 19:50:07 +02:00
|
|
|
- jobs/demo-seed-purchase-orders-job.yaml
|
2025-10-12 18:47:33 +02:00
|
|
|
- jobs/demo-seed-sales-job.yaml
|
2025-10-03 14:09:34 +02:00
|
|
|
- jobs/demo-seed-ai-models-job.yaml
|
2025-10-17 07:31:14 +02:00
|
|
|
- jobs/demo-seed-stock-job.yaml
|
|
|
|
|
- jobs/demo-seed-quality-templates-job.yaml
|
|
|
|
|
- jobs/demo-seed-customers-job.yaml
|
|
|
|
|
- jobs/demo-seed-equipment-job.yaml
|
|
|
|
|
- jobs/demo-seed-production-batches-job.yaml
|
|
|
|
|
- jobs/demo-seed-orders-job.yaml
|
|
|
|
|
- jobs/demo-seed-procurement-job.yaml
|
|
|
|
|
- jobs/demo-seed-forecasts-job.yaml
|
2025-10-21 19:50:07 +02:00
|
|
|
- jobs/demo-seed-pos-configs-job.yaml
|
2025-10-30 21:08:07 +01:00
|
|
|
- jobs/demo-seed-orchestration-runs-job.yaml
|
2025-11-27 15:52:40 +01:00
|
|
|
- jobs/demo-seed-alerts-job.yaml
|
2025-10-03 14:09:34 +02:00
|
|
|
|
2025-11-30 09:12:40 +01:00
|
|
|
# Phase 2: Child retail seed jobs (for enterprise demo)
|
|
|
|
|
- jobs/demo-seed-inventory-retail-job.yaml
|
|
|
|
|
- jobs/demo-seed-stock-retail-job.yaml
|
|
|
|
|
- jobs/demo-seed-sales-retail-job.yaml
|
|
|
|
|
- jobs/demo-seed-customers-retail-job.yaml
|
|
|
|
|
- jobs/demo-seed-pos-retail-job.yaml
|
|
|
|
|
- jobs/demo-seed-forecasts-retail-job.yaml
|
|
|
|
|
- jobs/demo-seed-alerts-retail-job.yaml
|
|
|
|
|
- jobs/demo-seed-distribution-history-job.yaml
|
|
|
|
|
|
2025-10-09 14:11:02 +02:00
|
|
|
# External data initialization job (v2.0)
|
|
|
|
|
- jobs/external-data-init-job.yaml
|
|
|
|
|
|
|
|
|
|
# CronJobs
|
2025-10-03 14:09:34 +02:00
|
|
|
- cronjobs/demo-cleanup-cronjob.yaml
|
2025-10-09 14:11:02 +02:00
|
|
|
- cronjobs/external-data-rotation-cronjob.yaml
|
2025-11-19 21:01:06 +01:00
|
|
|
- cronjobs/usage-tracker-cronjob.yaml
|
2025-11-27 15:52:40 +01:00
|
|
|
- cronjobs/alert-priority-recalculation-cronjob.yaml
|
|
|
|
|
- cronjobs/delivery-tracking-cronjob.yaml
|
2025-09-30 08:12:45 +02:00
|
|
|
|
2025-09-27 11:18:13 +02:00
|
|
|
# Infrastructure components
|
|
|
|
|
- components/databases/redis.yaml
|
|
|
|
|
- components/databases/rabbitmq.yaml
|
|
|
|
|
- components/infrastructure/gateway-service.yaml
|
|
|
|
|
|
2025-11-30 09:12:40 +01:00
|
|
|
# Distribution service
|
|
|
|
|
- components/distribution/distribution-deployment.yaml
|
|
|
|
|
- components/distribution/distribution-configmap.yaml
|
|
|
|
|
|
2025-10-15 16:12:49 +02:00
|
|
|
# Nominatim geocoding service
|
|
|
|
|
- components/nominatim/nominatim.yaml
|
|
|
|
|
- jobs/nominatim-init-job.yaml
|
|
|
|
|
|
2025-10-09 14:11:02 +02:00
|
|
|
# Persistent storage
|
|
|
|
|
- components/volumes/model-storage-pvc.yaml
|
|
|
|
|
|
2025-09-27 11:18:13 +02:00
|
|
|
# Database services
|
|
|
|
|
- components/databases/auth-db.yaml
|
|
|
|
|
- components/databases/tenant-db.yaml
|
|
|
|
|
- components/databases/training-db.yaml
|
|
|
|
|
- components/databases/forecasting-db.yaml
|
|
|
|
|
- components/databases/sales-db.yaml
|
|
|
|
|
- components/databases/external-db.yaml
|
|
|
|
|
- components/databases/notification-db.yaml
|
|
|
|
|
- components/databases/inventory-db.yaml
|
|
|
|
|
- components/databases/recipes-db.yaml
|
|
|
|
|
- components/databases/suppliers-db.yaml
|
|
|
|
|
- components/databases/pos-db.yaml
|
|
|
|
|
- components/databases/orders-db.yaml
|
|
|
|
|
- components/databases/production-db.yaml
|
2025-10-30 21:08:07 +01:00
|
|
|
- components/databases/procurement-db.yaml
|
|
|
|
|
- components/databases/orchestrator-db.yaml
|
2025-09-27 11:18:13 +02:00
|
|
|
- components/databases/alert-processor-db.yaml
|
2025-11-05 13:34:56 +01:00
|
|
|
- components/databases/ai-insights-db.yaml
|
2025-11-30 09:12:40 +01:00
|
|
|
- components/databases/distribution-db.yaml
|
2025-09-27 11:18:13 +02:00
|
|
|
|
2025-10-03 14:09:34 +02:00
|
|
|
# Demo session components
|
|
|
|
|
- components/demo-session/database.yaml
|
|
|
|
|
- components/demo-session/rbac.yaml
|
|
|
|
|
- components/demo-session/service.yaml
|
|
|
|
|
- components/demo-session/deployment.yaml
|
|
|
|
|
|
2025-11-30 16:29:38 +01:00
|
|
|
# Demo cleanup worker (background job processor)
|
|
|
|
|
- deployments/demo-cleanup-worker.yaml
|
|
|
|
|
|
2025-09-27 11:18:13 +02:00
|
|
|
# Microservices
|
|
|
|
|
- components/auth/auth-service.yaml
|
|
|
|
|
- components/tenant/tenant-service.yaml
|
|
|
|
|
- components/training/training-service.yaml
|
|
|
|
|
- components/forecasting/forecasting-service.yaml
|
|
|
|
|
- components/sales/sales-service.yaml
|
|
|
|
|
- components/external/external-service.yaml
|
|
|
|
|
- components/notification/notification-service.yaml
|
|
|
|
|
- components/inventory/inventory-service.yaml
|
|
|
|
|
- components/recipes/recipes-service.yaml
|
|
|
|
|
- components/suppliers/suppliers-service.yaml
|
|
|
|
|
- components/pos/pos-service.yaml
|
|
|
|
|
- components/orders/orders-service.yaml
|
|
|
|
|
- components/production/production-service.yaml
|
2025-10-30 21:08:07 +01:00
|
|
|
- components/procurement/procurement-service.yaml
|
|
|
|
|
- components/orchestrator/orchestrator-service.yaml
|
2025-09-27 11:18:13 +02:00
|
|
|
- components/alert-processor/alert-processor-service.yaml
|
2025-10-21 19:50:07 +02:00
|
|
|
- components/alert-processor/alert-processor-api.yaml
|
2025-11-05 13:34:56 +01:00
|
|
|
- components/ai-insights/ai-insights-service.yaml
|
2025-09-27 11:18:13 +02:00
|
|
|
|
|
|
|
|
# Frontend
|
|
|
|
|
- components/frontend/frontend-service.yaml
|
|
|
|
|
|
2025-11-06 11:04:50 +01:00
|
|
|
# HorizontalPodAutoscalers (for production autoscaling)
|
|
|
|
|
- components/hpa/orders-hpa.yaml
|
|
|
|
|
- components/hpa/forecasting-hpa.yaml
|
|
|
|
|
- components/hpa/notification-hpa.yaml
|
|
|
|
|
|
2025-09-27 12:10:43 +02:00
|
|
|
labels:
|
|
|
|
|
- includeSelectors: true
|
|
|
|
|
pairs:
|
|
|
|
|
app.kubernetes.io/part-of: bakery-ia
|
|
|
|
|
app.kubernetes.io/managed-by: kustomize
|
2025-09-27 11:18:13 +02:00
|
|
|
|
|
|
|
|
images:
|
|
|
|
|
- name: bakery/auth-service
|
|
|
|
|
newTag: latest
|
|
|
|
|
- name: bakery/tenant-service
|
|
|
|
|
newTag: latest
|
|
|
|
|
- name: bakery/training-service
|
|
|
|
|
newTag: latest
|
|
|
|
|
- name: bakery/forecasting-service
|
|
|
|
|
newTag: latest
|
|
|
|
|
- name: bakery/sales-service
|
|
|
|
|
newTag: latest
|
|
|
|
|
- name: bakery/external-service
|
|
|
|
|
newTag: latest
|
|
|
|
|
- name: bakery/notification-service
|
|
|
|
|
newTag: latest
|
|
|
|
|
- name: bakery/inventory-service
|
|
|
|
|
newTag: latest
|
|
|
|
|
- name: bakery/recipes-service
|
|
|
|
|
newTag: latest
|
|
|
|
|
- name: bakery/suppliers-service
|
|
|
|
|
newTag: latest
|
|
|
|
|
- name: bakery/pos-service
|
|
|
|
|
newTag: latest
|
|
|
|
|
- name: bakery/orders-service
|
|
|
|
|
newTag: latest
|
|
|
|
|
- name: bakery/production-service
|
|
|
|
|
newTag: latest
|
2025-10-30 21:08:07 +01:00
|
|
|
- name: bakery/procurement-service
|
|
|
|
|
newTag: latest
|
|
|
|
|
- name: bakery/orchestrator-service
|
|
|
|
|
newTag: latest
|
2025-09-27 11:18:13 +02:00
|
|
|
- name: bakery/alert-processor
|
|
|
|
|
newTag: latest
|
2025-11-05 13:34:56 +01:00
|
|
|
- name: bakery/ai-insights-service
|
|
|
|
|
newTag: latest
|
2025-10-03 14:09:34 +02:00
|
|
|
- name: bakery/demo-session-service
|
|
|
|
|
newTag: latest
|
2025-09-27 11:18:13 +02:00
|
|
|
- name: bakery/gateway
|
|
|
|
|
newTag: latest
|
|
|
|
|
- name: bakery/dashboard
|
2025-10-30 21:08:07 +01:00
|
|
|
newTag: latest
|
2025-11-30 09:12:40 +01:00
|
|
|
- name: bakery/distribution-service
|
|
|
|
|
newTag: latest
|