Files
zeekayandHanzo Dev 425b96f66e the cluster is named, not addressed by a gone account
Every provenance line and manifest still named a DigitalOcean context, and
the ARC values described a pool that died with it. A cluster gets a name
here; the address it answers on belongs to the private record.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-16 16:15:33 -07:00

122 lines
2.8 KiB
YAML

---
###############################################################################
# Lux Faucet (faucet.lux.network)
# Testnet/devnet token faucet for developers.
# Image: ghcr.io/luxfi/faucet:0.1.0
# Cluster: lux-k8s (lux-k8s)
# Namespace: lux-explorer
###############################################################################
apiVersion: v1
kind: ConfigMap
metadata:
name: faucet-config
namespace: lux-explorer
labels:
app: lux-faucet
data:
PORT: "3000"
NODE_ENV: "production"
NEXT_TELEMETRY_DISABLED: "1"
NETWORK: "testnet"
RPC_URL: "https://api.lux.network/testnet/v1/chain/c/rpc"
CHAIN_ID: "96368"
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: lux-faucet
namespace: lux-explorer
labels:
app: lux-faucet
spec:
replicas: 1
selector:
matchLabels:
app: lux-faucet
template:
metadata:
labels:
app: lux-faucet
spec:
imagePullSecrets:
- name: ghcr-luxfi
containers:
- name: faucet
image: ghcr.io/luxfi/faucet:0.1.0
imagePullPolicy: Always
envFrom:
- configMapRef:
name: faucet-config
ports:
- name: http
containerPort: 3000
protocol: TCP
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
cpu: 250m
memory: 256Mi
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 3
failureThreshold: 3
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
securityContext:
runAsNonRoot: true
runAsUser: 1001
allowPrivilegeEscalation: false
---
apiVersion: v1
kind: Service
metadata:
name: lux-faucet
namespace: lux-explorer
labels:
app: lux-faucet
spec:
type: ClusterIP
selector:
app: lux-faucet
ports:
- name: http
port: 3000
targetPort: 3000
protocol: TCP
---
###############################################################################
# IngressRoute: faucet.lux.network
###############################################################################
apiVersion: hanzo.ai/v1alpha1
kind: IngressRoute
metadata:
name: lux-faucet
namespace: lux-explorer
labels:
app: lux-faucet
spec:
entryPoints:
- websecure
routes:
- kind: Rule
match: Host(`faucet.lux.network`)
services:
- name: lux-faucet
port: 3000
tls:
certResolver: letsencrypt
domains:
- main: faucet.lux.network