Open dbaudracco opened 1 week ago
This PR fixes the exclusion of containers not working
When using a spinach file like
--- popeye: excludes: linters: deployments: instances: - codes: - 106 containers: - "rx:.*init.*"
I noticed that the relevant containers were not excluded:
ยท namespace/varnish.................................................................................๐ฑ ๐ณ init-varnish ๐ฑ [POP-106] No resources requests/limits defined.
After some debugging it appears that this is because the container list is not populated for the appropriate resources: this PR addresses the issue
ยท namespace/varnish.................................................................................โ
If I'm not wrong this supersedes https://github.com/derailed/popeye/pull/267, fixes https://github.com/derailed/popeye/issues/200 and https://github.com/derailed/popeye/issues/168
This PR fixes the exclusion of containers not working
Background
When using a spinach file like
I noticed that the relevant containers were not excluded:
After some debugging it appears that this is because the container list is not populated for the appropriate resources: this PR addresses the issue
Todo