cert-checker allows you to scan for certificates in a kubernetes cluster and alert you via slack when they are set to expire soon.
--expires-in-dayssets the number of days before the certificates expire to alert--max-expired-in-daysset the number of days after the certificates expire to stop alerting--min-cert-length-in-daysset the minimum number of days a certificate has to be valid for to alert--slack-webhookdefines the webhook URL of the slack app--namespacecan be passed multiple times to define each namespace that the app should scan (for all namespaces provide*)--environmentspecifies the environment context for the slack message--alert-no-flagged-certsenables a slack message for when no certificates are flagged
A slack app must be created for you to deploy this app. You can follow the steps here.
An example of a kubernetes deployment has been provided in deployment/kubernetes.yml which provides a namespace, service account and cronjob.
