Skip to content

Commit

Permalink
remove duplicate kubectl --context option (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyue-pan authored Mar 10, 2024
1 parent 90f5a75 commit 0f3f629
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions acto/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0f3f629

Please sign in to comment.