Skip to content

Commit

Permalink
fix(kube-set-context.ts): specified the kubeconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-ra committed Jul 24, 2023
1 parent a179e8f commit a793dde
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/handlers/kubectl-set-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export async function setKubectlContext(context?: string) {
}

core.info('Configuring context')
execSync(`kubectl config use-context ${context}`, {
execSync(`kubectl config use-context ${context} --kubeconfig=kubeconfig`, {
stdio: 'inherit',
cwd: repositoryDirectory
})
Expand Down

0 comments on commit a793dde

Please sign in to comment.