Skip to content

Commit 042438f

Browse files
authored
Don't use deprecated --generator flag (#11)
Closes #10 Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
1 parent 6a8b7d1 commit 042438f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kubectl-node_shell

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ EOT
6666
)"
6767

6868
echo "spawning \"$pod\" on \"$node\""
69-
kubectl run --rm --image "$image" --overrides="$overrides" --generator=run-pod/v1 -ti "$pod" $context $kubeconfig $namespace
69+
kubectl run --rm --image "$image" --overrides="$overrides" -ti "$pod" $context $kubeconfig $namespace

0 commit comments

Comments
 (0)