From 82905ff86c9e603f97c346725ebcb671fa8c7d51 Mon Sep 17 00:00:00 2001 From: Tim Loyer Date: Tue, 9 Jul 2024 11:59:23 -0400 Subject: [PATCH] ingress-nginx: list.extend returns None and breaks expected behvior of resource_deps --- ingress_nginx/helm/Tiltfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ingress_nginx/helm/Tiltfile b/ingress_nginx/helm/Tiltfile index ad178fd..0161c3d 100644 --- a/ingress_nginx/helm/Tiltfile +++ b/ingress_nginx/helm/Tiltfile @@ -5,6 +5,8 @@ REPO_ALIAS = "ingress-nginx-repo" LABEL = "ingress" def load_helmchart(resource_deps = [], labels = []): + resource_deps.append(REPO_ALIAS) + helm_repo( REPO_ALIAS, url = "https://kubernetes.github.io/ingress-nginx", @@ -20,6 +22,6 @@ def load_helmchart(resource_deps = [], labels = []): "--set=controller.allowSnippetAnnotations=true", "--set=controller.ingressClassResource.default=true", ], - resource_deps = [REPO_ALIAS].extend(resource_deps), + resource_deps = resource_deps, labels = labels or [LABEL], )