fix: do not hard-code path to kubectl in jq plugin (#2678)
parent
a0ffa8f392
commit
a0c03703b1
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
/usr/local/bin/kubectl logs -f $1 -n $2 --context $3 | jq -rR '. as $raw | try (fromjson | .message) catch ("\u001b[31m" + $raw + "\u001b[0m")'
|
||||
kubectl logs -f $1 -n $2 --context $3 | jq -rR '. as $raw | try (fromjson | .message) catch ("\u001b[31m" + $raw + "\u001b[0m")'
|
||||
|
|
|
|||
Loading…
Reference in New Issue