fix mobile reponsiveness

This commit is contained in:
2026-04-16 20:09:41 -03:00
parent 1ae1456502
commit 1ed2ad06b8
6 changed files with 207 additions and 5 deletions

View File

@@ -5,8 +5,14 @@
allow_k8s_contexts('kind-unt')
# Create namespace first to avoid race conditions
local('kubectl create namespace unt --dry-run=client -o yaml | kubectl apply -f -')
# Hard guard: Tilt deploys to whatever the shell's current kubectl context is,
# and allow_k8s_contexts auto-permits any local-looking (kind-*) cluster.
# Fail early instead of silently landing the workload in the wrong cluster.
if k8s_context() != 'kind-unt':
fail("Wrong kubectl context: '%s'. Run: kubectl config use-context kind-unt" % k8s_context())
# Create namespace first to avoid race conditions (pin cluster explicitly)
local('kubectl --context kind-unt create namespace unt --dry-run=client -o yaml | kubectl --context kind-unt apply -f -')
# Apply k8s manifests via kustomize (dev overlay)
k8s_yaml(kustomize('k8s/overlays/dev'))
@@ -42,7 +48,7 @@ docker_build(
# --- Resources ---
k8s_resource('api')
k8s_resource('ui', resource_deps=['api'], port_forwards=['8040:80'])
k8s_resource('ui', resource_deps=['api'])
# Group infra resources
k8s_resource(