mirror of
https://github.com/zooai/bridge-shim.git
synced 2026-10-30 14:50:34 +00:00
White-label tenant shim for the canonical bridge — bridge.zoo.network. The shim composes the OSS upstream (ghcr.io/luxfi/bridge:v1.1.39) and ships: - tenant.yaml — Zoo Bridge declarative config (brand=Zoo Bridge, IAM=zoo.id, KMS=kms.zoo.network, network=Zoo Mainnet chainId 200200, pq=strict-pq, chains=eth/btc/sol/ton/xrp/dot/zoo). - Dockerfile — FROM upstream + COPY tenant.yaml + --tenant-config pin. - contracts/tenant.json + Deploy.sh — wraps @luxfi/standard v1.7.5's DeployTenant.s.sol with the Zoo manifest. - k8s/ — Deployment, Service, IngressRoute (bridge.zoo.network), ConfigMap, Namespace, Kustomization. - tenant_test.go — go test imports luxfi/bridge/pkg/tenant.Load and validates tenant.yaml. - .github/workflows/build.yml — semver-tag-gated GHCR push via the zooai org's zoo-build-linux-amd64 ARC pool. Tests: GOWORK=off go test ./... → PASS.
17 lines
290 B
YAML
17 lines
290 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: zoo-bridge
|
|
namespace: zoo-bridge
|
|
labels:
|
|
app.kubernetes.io/name: zoo-bridge
|
|
spec:
|
|
type: ClusterIP
|
|
selector:
|
|
app.kubernetes.io/name: zoo-bridge
|
|
ports:
|
|
- name: http
|
|
port: 80
|
|
targetPort: 8080
|
|
protocol: TCP
|