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 {