deckhouse / k8s-image-availability-exporter

Alert if an image used in Kubernetes cannot be pulled from container registry
Apache License 2.0
212 stars 25 forks source link

Add option to force image check for disabled/suspended workloads #75

Closed verdel closed 8 months ago

verdel commented 11 months ago

Currently the exporter does not check the availability of docker image for disable/suspend workloads. I add a CLI option check-disabled that will bypass the workload enable status check. This force docker image check for disabled/suspended workloads.

Option check-disabled equal false by default to avoid creating breaking changes.

Closes #74

verdel commented 10 months ago

@zuzzas, can you please review this PR?

nabokihms commented 8 months ago

One more thing I noticed by looking through the repo. Could you please also add the description of the flag to the docs here?

verdel commented 8 months ago

@nabokihms, I have made the requested changes and also added a description of the option in README.md. If you have the opportunity, I would appreciate it if you could review the pull request again.

verdel commented 7 months ago

@verdel thanks! Looks cool.

Thank you very much for your time!