Excludes in spinach.yaml file has no inflence for cluster-score (section-score)
Author: alexMV1989Created Oct 2, 2025Updated Oct 2, 2025
Hi!
I have a problem with spinach.yaml file. When I create а spinach.yaml I assume that these excluded checks will be taken into account in the final cluster-score calculation
spinach.yaml file:
linters: pods: instances: - fqns: [rx:.*] codes: [100,205,300,301,1204] - fqns: [rx:rook-ceph/.*] - fqns: [rx:default/prometheus-node-exporter*] - fqns: [rx:victoria/.*] - fqns: [rx:set-registry-secret/.*] - fqns: [rx:operators/.*] codes: [104,203,204,207,302,306]
for instance some checks: POP-1204 (Pod Ingress is not secured by a network policy) , POP-300 (Uses "default" ServiceAccount) is OK for our apps.
so actually spinach.yaml is working fine, excludes in this file is really removed from output report, but final cluster-score (in fact section-score) does not take in account spinach.yaml excludes
so every time I see that 0 pods in OK state, but it is wrong(
Source: derailed/popeye