kube-linter
kube-linter copied to clipboard
Check that string probe port match container port
implementation of #455
if a probe port is a string and the string is not of number (like "1234" ) and the string is not in the container ports (ie. ` ports[].name), then raise a diagnostic message.
while the resource it accepted by kube currently, the liveness/readiness/startup will fail anyway, so added to default checks.
@jouve You need to regenerate files
I'll update this PR soon :)
@jouve ping
@jouve Could you rebase? I think we can make it into next release Don't forget to rerequest review ⟳