stackrox / kube-linter

KubeLinter is a static analysis tool that checks Kubernetes YAML files and Helm charts to ensure the applications represented in them adhere to best practices.
https://docs.kubelinter.io/
Apache License 2.0
2.89k stars 231 forks source link

Fix: pdb-min-available when Replica number is controlled via HPA #688

Closed jpedrobf closed 7 months ago

jpedrobf commented 7 months ago

I believe this solves #637.

The commit history might be a little messy but it was made with heart 💚

jpedrobf commented 7 months ago

@janisz, giving an update: @jvtartaglia helped a lot in refining the code to avoid nested for inside the code and reduce complexity. If there's any other feedback, we're happy to follow up on it 😄

janisz commented 7 months ago

@jpedrobf Thank you!