Image is now built and pushed by `sunbeam.py --build` rather than imported directly into k3s containerd. imagePullPolicy changes from Never to Always so every rollout restart pulls the freshly pushed image.
54 lines
1.8 KiB
YAML
54 lines
1.8 KiB
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
# Local dev overlay — targets Lima VM running k3s on macOS
|
|
# Deploy with: kubectl apply -k overlays/local/
|
|
#
|
|
# NOTE: base/mesh (Linkerd) is excluded here. Linkerd is bootstrapped
|
|
# separately by scripts/local-up.sh via the Linkerd CLI, which avoids
|
|
# the identity cert bootstrapping problem at kustomize render time.
|
|
#
|
|
# DOMAIN_SUFFIX substitution: local-up.sh pipes `kustomize build | sed` to
|
|
# replace DOMAIN_SUFFIX with <LIMA_IP>.sslip.io before kubectl apply.
|
|
|
|
resources:
|
|
- ../../base/ingress
|
|
- ../../base/ory
|
|
- ../../base/data
|
|
- ../../base/storage
|
|
- ../../base/lasuite
|
|
- ../../base/media
|
|
- ../../base/devtools
|
|
- ../../base/vso
|
|
|
|
images:
|
|
# Pulled from our Gitea registry. Built and pushed by: sunbeam.py --build
|
|
# imagePullPolicy: Always in values-pingora.yaml ensures each rollout pulls fresh.
|
|
- name: sunbeam-proxy
|
|
newName: src.DOMAIN_SUFFIX/studio/sunbeam-proxy
|
|
newTag: latest
|
|
|
|
# amd64-only La Suite images — mirrored to our Gitea registry with a patched
|
|
# OCI index that adds an arm64 alias so Rosetta can run them on the Lima VM.
|
|
# DOMAIN_SUFFIX is substituted by local-up.py at deploy time (sed replacement).
|
|
- name: lasuite/people-backend
|
|
newName: src.DOMAIN_SUFFIX/studio/people-backend
|
|
- name: lasuite/people-frontend
|
|
newName: src.DOMAIN_SUFFIX/studio/people-frontend
|
|
|
|
patches:
|
|
# Add hostPort for TURN relay range on Lima VM
|
|
- path: values-pingora.yaml
|
|
target:
|
|
kind: Deployment
|
|
name: pingora
|
|
|
|
# Downgrade LiveKit TURN service from LoadBalancer → ClusterIP (klipper would take hostPort 443)
|
|
- path: values-livekit.yaml
|
|
target:
|
|
kind: Service
|
|
name: livekit-server-turn
|
|
|
|
# Apply §10.7 memory limits to all Deployments
|
|
- path: values-resources.yaml
|