Skip to content

Commit

Permalink
fix(kubectl): use correct context for pod
Browse files Browse the repository at this point in the history
  • Loading branch information
edosrecki committed Jul 23, 2023
1 parent 9108496 commit 5a54b27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/kubectl/pods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const runCloudRedisProxyPod = (pod: CloudRedisProxyPod): string => {
const podJson = JSON.stringify(podModel.toJSON())

return execCommand(`
echo '${podJson}' | kubectl create -f -
echo '${podJson}' | kubectl create --context=${pod.context} -f -
`)
}

Expand Down

0 comments on commit 5a54b27

Please sign in to comment.