From bdc4d2ab9f15b2305603576385f938875bafe0ea Mon Sep 17 00:00:00 2001 From: Ashley Dumaine Date: Wed, 14 Feb 2024 10:20:55 -0500 Subject: [PATCH] install CCM and CSI HelmChartProxies via Tilt --- Tiltfile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Tiltfile b/Tiltfile index 6415c9a37..eb9a213b6 100644 --- a/Tiltfile +++ b/Tiltfile @@ -32,6 +32,28 @@ k8s_resource( k8s_attach("caaph-controller-manager", "deployment.apps/caaph-controller-manager", namespace="caaph-system") +# Linode CCM, necessary for provisioned self-managed k8s 1.29 clusters +# to correctly set internal and external IPs +k8s_yaml("./templates/addons/linode-cloud-controller-manager-helm.yaml") +k8s_resource( + new_name="addon-linode-cloud-controller-manager-helm", + objects=[ + "linode-cloud-controller-manager:helmchartproxy" + ], + resource_deps=["capi-controller-manager", "cluster-api-provider-linode-controller-manager", "caaph-controller-manager"] +) + +# Linode Blockstorage CSI driver for storage on self-managed k8s clusters +k8s_yaml("./templates/addons/linode-blockstorage-csi-driver-helm.yaml") +k8s_resource( + new_name="addon-linode-blockstorage-csi-driver-helm", + objects=[ + "linode-blockstorage-csi-driver:helmchartproxy" + ], + resource_deps=["capi-controller-manager", "cluster-api-provider-linode-controller-manager", "caaph-controller-manager"] +) + +# Cilium CNI for self-managed k8s clusters k8s_yaml("./templates/addons/cilium-helm.yaml") k8s_resource( new_name="addon-cilium-helm",