tiltfile - port forward mariadb to host machine

This commit is contained in:
Joey Orlando 2023-12-11 10:20:01 -05:00
parent 783e0f7ad0
commit c667d625d8
No known key found for this signature in database
GPG key ID: 469E88366B17F644

View file

@ -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', # <host_port>:<container_port>
labels=["OnCallDeps"],
)
# name all tilt resources after the k8s object namespace + name