Skip to content

Commit

Permalink
feat: use k8s_resource to create port forwards
Browse files Browse the repository at this point in the history
  • Loading branch information
rochecompaan committed Jun 20, 2023
1 parent 457dea4 commit 6dda6cc
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions {{cookiecutter.project_slug}}/Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,5 @@ syncback(
rsync_path='/app/rsync.tilt',
)

local_resource(
name="django-8000", serve_cmd="kubectl port-forward deployment/django 8000:8000"
)

local_resource(
name="react-3000", serve_cmd="kubectl port-forward deployment/frontend 3000:3000"
)
k8s_resource(workload='django', port_forwards=8000)
k8s_resource(workload='mailhog', port_forwards=8025)

0 comments on commit 6dda6cc

Please # to comment.