From 4e9e82a95fe604b89ea995a4d8e56c34b2c6d8b7 Mon Sep 17 00:00:00 2001 From: Rahul Sharma Date: Tue, 13 Feb 2024 05:31:06 +0000 Subject: [PATCH] install cilium-helm addon using tilt --- Tiltfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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"] +)