diff --git a/Tiltfile b/Tiltfile index ee0db0ccd..6415c9a37 100644 --- a/Tiltfile +++ b/Tiltfile @@ -1,3 +1,5 @@ +load("ext://k8s_attach", "k8s_attach") + docker_build("controller", ".", only=("Dockerfile", "Makefile", "vendor","go.mod", "go.sum", "./api", "./cloud","./cmd", "./controller", "./util")) local_resource( @@ -27,3 +29,14 @@ k8s_resource( "%s:secret" % token_secret_name ] ) + +k8s_attach("caaph-controller-manager", "deployment.apps/caaph-controller-manager", namespace="caaph-system") + +k8s_yaml("./templates/addons/cilium-helm.yaml") +k8s_resource( + new_name="addon-cilium-helm", + objects=[ + "cilium:helmchartproxy" + ], + resource_deps=["capi-controller-manager", "cluster-api-provider-linode-controller-manager", "caaph-controller-manager"] +)