chore: initial infrastructure scaffold
Kustomize base + overlays for the full Sunbeam k3s stack: - base/mesh — Linkerd edge (crds + control-plane + viz) - base/ingress — custom Pingora edge proxy - base/ory — Kratos 0.60.1 + Hydra 0.60.1 + login-ui - base/data — CloudNativePG 0.27.1, Valkey 8, OpenSearch 2 - base/storage — SeaweedFS master + volume + filer (S3 on :8333) - base/lasuite — Hive sync daemon + La Suite app placeholders - base/media — LiveKit livekit-server 1.9.0 - base/devtools — Gitea 12.5.0 (external PG + Valkey) overlays/local — sslip.io domain, mkcert TLS, Lima hostPort overlays/production — stub (TODOs for sunbeam.pt values) scripts/ — local-up/down/certs/urls helpers justfile — up / down / certs / urls targets
This commit is contained in:
21
overlays/local/values-domain.yaml
Normal file
21
overlays/local/values-domain.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
# Patch: replace DOMAIN_SUFFIX placeholder with <LIMA_IP>.sslip.io
|
||||
# in the Pingora ConfigMap's routing table.
|
||||
#
|
||||
# How to apply: the local-up.sh script calls:
|
||||
# LIMA_IP=$(limactl shell sunbeam hostname -I | awk '{print $1}')
|
||||
# sed "s/DOMAIN_SUFFIX/${LIMA_IP}.sslip.io/g" overlays/local/values-domain.yaml | kubectl apply -f -
|
||||
#
|
||||
# Or use kustomize's replacements feature if the IP is known at kustomize time.
|
||||
#
|
||||
# This is a strategic merge patch on the pingora-config ConfigMap.
|
||||
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: pingora-config
|
||||
namespace: ingress
|
||||
data:
|
||||
# DOMAIN_SUFFIX is substituted at deploy time by local-up.sh.
|
||||
# The local overlay domain is: <LIMA_IP>.sslip.io
|
||||
# Example: 192.168.5.2.sslip.io
|
||||
domain-suffix: "LIMA_IP.sslip.io"
|
||||
Reference in New Issue
Block a user