From 48fe61b9a4efc6b87c2583b9e4cb5bd902a74187 Mon Sep 17 00:00:00 2001 From: ziyue Date: Sun, 10 Mar 2024 11:43:46 +0800 Subject: [PATCH] remove duplicate kubectl `--context` option --- acto/deploy.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/acto/deploy.py b/acto/deploy.py index c0158b9422..a2debb4dfe 100644 --- a/acto/deploy.py +++ b/acto/deploy.py @@ -81,8 +81,7 @@ def deploy(self, # Run the steps in the deploy config one by one for step in self._deploy_config.steps: if step.apply: - args = ["apply", "--server-side", "-f", step.apply.file, - "--context", context_name] + args = ["apply", "--server-side", "-f", step.apply.file] # Use the namespace from the argument if the namespace is delegated # If the namespace from the config is explicitly specified,