Skip to content

Commit 18fdb5a

Browse files
committed
chore: limit Tilt context to Minikube or Kind contexts
from: https://docs.tilt.dev/api.html#api.allow_k8s_contexts "Tilt will error unless at least one of these is true of the active K8S context"
1 parent 6495835 commit 18fdb5a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Tiltfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ docker_build("snyk/kubernetes-monitor", ".",
66
entrypoint="bin/start-tilt"
77
)
88

9+
allow_k8s_contexts(['minikube', 'kubernetes-admin@kind'])
910
k8s_yaml(local("helm template snyk-monitor | ./add-ns.py snyk-monitor"))
1011
k8s_resource('snyk-monitor', port_forwards='9229:9229')
1112
watch_file("snyk-monitor")

0 commit comments

Comments
 (0)