From 0f3f629adf590897be8154d42a7a31d17ddbca74 Mon Sep 17 00:00:00 2001 From: Ziyue Pan Date: Mon, 11 Mar 2024 00:36:46 +0800 Subject: [PATCH] remove duplicate kubectl `--context` option (#352) --- 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,