Major collapses across 61 files (-2394 / +642, net -1752):
- Killed Zoo Auth Subnet: parallel auth chain contradicts hanzo.id Casdoor as canonical IAM
(deleted k8s/zoo-auth/, compose.auth.yml, auth-gateway/, chain-configs/auth-subnet-genesis.json)
- Postgres StatefulSet → SQLite + Litestream + MinIO replication (per memory no_postgres_sqlite_only)
Bridge becomes single-writer (replicas: 1) with restore init + replicate sidecar
- Plaintext Cloudflare API token in .env wiped; .env added to .gitignore
- 7× <your-domain> CI placeholders → kms.hanzo.ai
- 3 per-env manifests (3 × 130 lines, 90% dup) → 1 canonical manifests/services.yml (89 lines)
- 6 floating tags (:latest / :main) → :main-amd64 immutable per-arch
- Broken org refs ghcr.io/zoolabs/* + @zoolabs npm → ghcr.io/zooai/* + @zooai
- Workflow runner pool zoo-build-amd64 (wrong) → zoo-build-linux-amd64 (canonical)
- ENV var conflation ZOO_NETWORK_ID → LUX_NETWORK_ID + ZOO_EVM_CHAIN_ID
- Stale dev scripts (start/stop/status/setup.sh), convert-to-submodules.sh, Dockerfile.dev,
.gitmodules, zoo.id/ static page, retired ARC values, k8s/patches/ all removed
- Duplicate deploy.yml workflow (shadows ci.yml) killed
- Makefile extended with remote-ops targets (deploy-{dev,test,main}, pods-{dev,test,main}, verify)
Tier-1 metrics all zero: plaintext secrets, Postgres in source, /api/ in own routes, brand contamination.
Zoo L2 EVM on Lux mainnet remains GREEN (chainId 0x30e08, balance 5e27 wei).
All 4 kustomize overlays render clean (system=35, devnet=36, testnet=36, mainnet=39).
90 lines
2.0 KiB
YAML
90 lines
2.0 KiB
YAML
# Valkey (Redis-compatible) for MPC cache
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: kv
|
|
labels:
|
|
app: kv
|
|
app.kubernetes.io/name: kv
|
|
app.kubernetes.io/component: cache
|
|
app.kubernetes.io/part-of: zoo
|
|
spec:
|
|
ports:
|
|
- port: 6379
|
|
targetPort: 6379
|
|
name: kv
|
|
selector:
|
|
app: kv
|
|
clusterIP: None
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: StatefulSet
|
|
metadata:
|
|
name: kv
|
|
labels:
|
|
app: kv
|
|
app.kubernetes.io/name: kv
|
|
app.kubernetes.io/component: cache
|
|
app.kubernetes.io/part-of: zoo
|
|
spec:
|
|
serviceName: kv
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: kv
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: kv
|
|
app.kubernetes.io/name: kv
|
|
app.kubernetes.io/component: cache
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: ghcr-secret
|
|
- name: hanzo
|
|
containers:
|
|
- name: kv
|
|
image: ghcr.io/hanzoai/kv:9
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: KV_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: zoo-kv-credentials
|
|
key: password
|
|
ports:
|
|
- containerPort: 6379
|
|
name: kv
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
limits:
|
|
cpu: "1"
|
|
memory: 2Gi
|
|
readinessProbe:
|
|
tcpSocket:
|
|
port: 6379
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
livenessProbe:
|
|
tcpSocket:
|
|
port: 6379
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 30
|
|
volumeMounts:
|
|
- name: kv-data
|
|
mountPath: /data
|
|
volumeClaimTemplates:
|
|
- metadata:
|
|
name: kv-data
|
|
labels:
|
|
app: kv
|
|
app.kubernetes.io/part-of: zoo
|
|
spec:
|
|
accessModes: ["ReadWriteOnce"]
|
|
storageClassName: do-block-storage
|
|
resources:
|
|
requests:
|
|
storage: 2Gi
|