ebea70573b
- Repository structure for all services, infra, lakehouse, dashboards - K8s manifests targeting stonks-oracle namespace with GHCR images - Ingress via Traefik with ca-issuer TLS for internal services - ConfigMap wired to existing cluster services (pg, redis, minio, ollama) - GitHub Actions workflow for lint, test, multi-service container builds - Dockerfile with build-arg CMD per service - Makefile for local build/push/deploy - Steering rules for TDD workflow, K8s conventions, project context - Agent hooks for lint-on-save, test-on-save, k8s-validate, phase-commit - Ruff linter config, all lint issues fixed - 14 passing tests for schemas, config, redis keys - PostgreSQL migrations, Trino catalogs, Superset config, MinIO lifecycle
40 lines
1019 B
YAML
40 lines
1019 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: stonks-config
|
|
namespace: stonks-oracle
|
|
labels:
|
|
app.kubernetes.io/part-of: stonks-oracle
|
|
data:
|
|
# PostgreSQL — existing cluster service
|
|
POSTGRES_HOST: "postgresql-rw.postgresql-service.svc.cluster.local"
|
|
POSTGRES_PORT: "5432"
|
|
POSTGRES_DB: "stonks"
|
|
POSTGRES_USER: "stonks"
|
|
|
|
# Redis — existing cluster service
|
|
REDIS_HOST: "redis-master.redis-service.svc.cluster.local"
|
|
REDIS_PORT: "6379"
|
|
REDIS_DB: "0"
|
|
|
|
# MinIO — existing cluster service
|
|
MINIO_ENDPOINT: "minio.minio-service.svc.cluster.local:80"
|
|
MINIO_SECURE: "false"
|
|
|
|
# Ollama — existing cluster service
|
|
OLLAMA_BASE_URL: "http://ollama.ollama-service.svc.cluster.local:11434"
|
|
OLLAMA_MODEL: "llama3.1:8b"
|
|
OLLAMA_TIMEOUT: "120"
|
|
|
|
# Trino — deployed in stonks-oracle namespace
|
|
TRINO_HOST: "trino.stonks-oracle.svc.cluster.local"
|
|
TRINO_PORT: "8080"
|
|
TRINO_CATALOG: "lakehouse"
|
|
TRINO_SCHEMA: "stonks"
|
|
|
|
# Broker
|
|
BROKER_MODE: "paper"
|
|
|
|
# General
|
|
LOG_LEVEL: "INFO"
|