Closed skonto closed 5 months ago
Interesting, this does not work on the actual runner image due to the older jq version, 1.6,. It does work on 1.7.1 locally on my machine though:
jq: error: syntax error, unexpected '[', expecting FORMAT or QQSTRING_START (Unix shell quoting issues?) at <top-level>, line 1:
.IPAM.Config.[].Subnet | select(. | test("^[0-9]+\\."))
I will update with the command here.
We might want to simplify using grep -P
if we assume that this will not run with Kind on Mac.
thanks @skonto !