TypeScript 5.9 erasableSyntaxOnly rejects enum declarations in .ts files (they emit runtime code). Switch protoc-gen-es from target=ts to target=js+dts which generates .js runtime + .d.ts type declarations. Also fix type mismatches in useApi.ts (OrderSide/OrderType enum types, StartBacktestRequest field mapping) and MLDashboard signal defaulting. Add web-dashboard network policy for MinIO egress + proxy ingress. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
30 lines
635 B
YAML
30 lines
635 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: NetworkPolicy
|
|
metadata:
|
|
name: web-dashboard
|
|
namespace: foxhunt
|
|
spec:
|
|
podSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: web-dashboard
|
|
policyTypes:
|
|
- Ingress
|
|
- Egress
|
|
ingress:
|
|
- from:
|
|
- podSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: tailscale-gitlab-proxy
|
|
ports:
|
|
- protocol: TCP
|
|
port: 80
|
|
egress:
|
|
# Init container fetches assets from MinIO
|
|
- to:
|
|
- podSelector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: minio
|
|
ports:
|
|
- protocol: TCP
|
|
port: 9000
|