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.74k stars 176 forks source link

score: add test for deployment selector matching the pod template labels #385

Closed zegl closed 3 years ago

zegl commented 3 years ago

Adding support for MatchExpressions in the StatefulSet selector test as well

This fixes #382

RELNOTE: Add Deployment selector labels check
zegl commented 3 years ago

bors merge

bors[bot] commented 3 years ago

Build succeeded: