From faef6fc75d6ca2adcaae690c7bc077d290e78ded Mon Sep 17 00:00:00 2001 From: Lucas Rodriguez Date: Tue, 12 Dec 2023 19:25:59 -0600 Subject: [PATCH] Update capabilities/lib/zarf.ts Co-authored-by: razzle --- capabilities/lib/zarf.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/capabilities/lib/zarf.ts b/capabilities/lib/zarf.ts index 5efa1a2..169f75a 100644 --- a/capabilities/lib/zarf.ts +++ b/capabilities/lib/zarf.ts @@ -29,11 +29,9 @@ export async function updateZarfManagedImageSecrets( authToken: string, ): Promise { try { - const namespace = await K8s(kind.Namespace) + const namespaces = await K8s(kind.Namespace) .WithLabel(managedByLabel, "zarf") - .Get(); - - const namespaces = namespace.items; + .Get().items; for (const ns of namespaces) { try {