From c4f789bff05ea658ead55fbea92e56d89612a826 Mon Sep 17 00:00:00 2001 From: Stefan Bueringer Date: Wed, 6 Dec 2023 17:51:15 +0100 Subject: [PATCH] Tilt: Show default cluster-template MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Büringer buringerst@vmware.com --- Tiltfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tiltfile b/Tiltfile index 8dcce208a875..53c72a0fc6fa 100644 --- a/Tiltfile +++ b/Tiltfile @@ -546,6 +546,9 @@ def deploy_templates(filename, label, substitutions): elif basename.startswith("cluster-template-"): template_name = basename.replace("cluster-template-", "").replace(".yaml", "") deploy_cluster_template(template_name, label, filename, substitutions) + elif basename == "cluster-template.yaml": + template_name = "default" + deploy_cluster_template(template_name, label, filename, substitutions) def deploy_clusterclass(clusterclass_name, label, filename, substitutions): apply_clusterclass_cmd = "cat " + filename + " | " + envsubst_cmd + " | " + kubectl_cmd + " apply --namespace=$NAMESPACE -f - && echo \"ClusterClass created from\'" + filename + "\', don't forget to delete\n\""