From 5abf975df548e8d721e8b3aec90511e2e2b47b45 Mon Sep 17 00:00:00 2001 From: Vladimir Vagaytsev Date: Wed, 10 Jul 2024 13:36:50 +0200 Subject: [PATCH] chore: print namespace in the log message --- core/src/plugins/kubernetes/commands/cleanup-garden-util.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/src/plugins/kubernetes/commands/cleanup-garden-util.ts b/core/src/plugins/kubernetes/commands/cleanup-garden-util.ts index fc09e4c8d4..211214c3c4 100644 --- a/core/src/plugins/kubernetes/commands/cleanup-garden-util.ts +++ b/core/src/plugins/kubernetes/commands/cleanup-garden-util.ts @@ -24,11 +24,10 @@ export const cleanupUtilDeployment: PluginCommand = { const k8sCtx = ctx as KubernetesPluginContext const provider = k8sCtx.provider - log.info({ msg: styles.highlight(`\nRemoving ${utilDeploymentName} deployment`) }) - const namespace = provider.outputs["app-namespace"] - const targetKinds = ["Service", "Deployment"] + log.info({ msg: styles.highlight(`\nRemoving ${utilDeploymentName} deployment from namespace ${namespace}`) }) + const targetKinds = ["Service", "Deployment"] const resources: KubernetesResource[] = targetKinds.map((kind) => { return { apiVersion: "v1", kind, metadata: { name: utilDeploymentName } } })