tilt-dev / tilt

Define your dev environment as code. For microservice apps on Kubernetes.
https://tilt.dev/
Apache License 2.0
7.67k stars 301 forks source link

Being able to create Kubernetes Webhooks and CRDs dependency #6420

Open olivierACRI opened 3 months ago

olivierACRI commented 3 months ago

Describe the Feature You Want

I need to have a way to deploy some resources only when the an associated webhook is deployed and ready.

Current Behavior

The resource dependency is limited to deployments and not CRDs

Why Do You Want This?

In kubernetes I am deploying Tekton which install a Webhook which takes sometimes to start. Then I am deploying in the same process the tasks and pipelines which are checked by the webhooks. Unfortunatly the tasks and pipelines are not part of the k8_resources known by Tilt so we can't create dependency

Additional context I am using Minikube

nicks commented 3 months ago

thanks! related issue - https://github.com/tilt-dev/tilt/issues/6287

olivierACRI commented 3 months ago

Ok, closing it as duplicate