zegl / kube-score

Kubernetes object analysis with recommendations for improved reliability and security. kube-score actively prevents downtime and bugs in your Kubernetes YAML and Charts. Static code analysis for Kubernetes.
https://kube-score.com
MIT License
2.78k stars 178 forks source link

probes: correctly check if a pod is targeted by a service #318

Closed zegl closed 4 years ago

zegl commented 4 years ago

Previously only one label needed to match and not all, causing false positives

RELNOTE: Fix a bug in the "Pod Probes" test where a Pod could incorrectly be considered to be targeted by a Service

This fixes #316

zegl commented 4 years ago

bors merge

bors[bot] commented 4 years ago

Build succeeded: