The standalone token-Governor SPA at vote.lux.network advertised contracts that are undeployed on 96369 (Governor 0x6fc44509/vLUX 0x91954cf6 -> eth_getCode 0x) and was cross-branded (@pars/vote). Governance consolidates on the Safe-multisig dashboard at lux.vote (the treasury IS a Safe). hanzoai/ingress Middleware issues a permanent redirect preserving path+query; deployment scaled to 0. Verified live: 308 -> https://lux.vote. Co-authored-by: Hanzo Dev <[email protected]>
69 lines
1.6 KiB
YAML
69 lines
1.6 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: lux-vote
|
|
namespace: hanzo
|
|
labels:
|
|
app: lux-vote
|
|
app.kubernetes.io/managed-by: lux-universe
|
|
app.kubernetes.io/part-of: lux-vote
|
|
spec:
|
|
# RETIRED: vote.lux.network is permanently redirected to lux.vote via ingress middleware
|
|
# (see middleware.yaml). The @pars/vote token-Governor SPA advertised undeployed contracts;
|
|
# governance is consolidated on the Safe-multisig dashboard at lux.vote. Kept at 0 replicas
|
|
# as a record; the ingress + middleware serve the 308 redirect with no backend.
|
|
replicas: 0
|
|
selector:
|
|
matchLabels:
|
|
app: lux-vote
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: lux-vote
|
|
spec:
|
|
containers:
|
|
- name: spa
|
|
image: ghcr.io/luxfi/lux-vote:v2.0.0
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 3000
|
|
name: http
|
|
env:
|
|
- name: PORT
|
|
value: "3000"
|
|
- name: ROOT
|
|
value: "/public"
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 32Mi
|
|
limits:
|
|
memory: 128Mi
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 3000
|
|
initialDelaySeconds: 3
|
|
periodSeconds: 10
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 3000
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 30
|
|
imagePullSecrets:
|
|
- name: ghcr-secret
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: lux-vote
|
|
namespace: hanzo
|
|
spec:
|
|
selector:
|
|
app: lux-vote
|
|
ports:
|
|
- name: http
|
|
port: 80
|
|
targetPort: 3000
|