Skip to content

Commit c4f789b

Browse files
committed
Tilt: Show default cluster-template
Signed-off-by: Stefan Büringer [email protected]
1 parent f330c6e commit c4f789b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tiltfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,9 @@ def deploy_templates(filename, label, substitutions):
546546
elif basename.startswith("cluster-template-"):
547547
template_name = basename.replace("cluster-template-", "").replace(".yaml", "")
548548
deploy_cluster_template(template_name, label, filename, substitutions)
549+
elif basename == "cluster-template.yaml":
550+
template_name = "default"
551+
deploy_cluster_template(template_name, label, filename, substitutions)
549552

550553
def deploy_clusterclass(clusterclass_name, label, filename, substitutions):
551554
apply_clusterclass_cmd = "cat " + filename + " | " + envsubst_cmd + " | " + kubectl_cmd + " apply --namespace=$NAMESPACE -f - && echo \"ClusterClass created from\'" + filename + "\', don't forget to delete\n\""

0 commit comments

Comments
 (0)