Update Tiltfile to differentiate between aks and kind cluster #5289
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
Tiltfile uses
if "aks" in settings.get("kustomize_substitutions", {}).get("MGMT_CLUSTER_NAME", ""):
to check if the tilt is being used with AKS cluster as a management cluster.This is an inefficient approach. Especially when a user is switching from AKS -> KIND.
Suggested approach:
make ads-create
is called; and unset that env variable whenevermake kind-create
is called.if "aks" in settings.get("kustomize_substitutions", {}).get("MGMT_CLUSTER_NAME", ""):
in the Tiltfile and use the env variable to check if it is a AKS cluster that is being used as a management cluster.The text was updated successfully, but these errors were encountered: