From c667d625d8f8035c9865e11225411f768b9c89ab Mon Sep 17 00:00:00 2001 From: Joey Orlando Date: Mon, 11 Dec 2023 10:20:01 -0500 Subject: [PATCH] tiltfile - port forward mariadb to host machine --- Tiltfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Tiltfile b/Tiltfile index eb71dad6..ec6e80ba 100644 --- a/Tiltfile +++ b/Tiltfile @@ -102,7 +102,11 @@ k8s_resource( labels=["OnCallBackend"], ) k8s_resource(workload="redis-master", labels=["OnCallDeps"]) -k8s_resource(workload="mariadb", labels=["OnCallDeps"]) +k8s_resource( + workload="mariadb", + port_forwards='3307:3306', # : + labels=["OnCallDeps"], +) # name all tilt resources after the k8s object namespace + name