certmonitor

command
v0.10.68 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command certmonitor monitors a certificate and its chain. Used to test certificate renewal: it loads the key pair (and the root bundle when -root is given; the monitor never connects, so it is optional), prints the certificate, then checks the files every -interval and prints the certificate again each time it was rewritten (a renewal).

Usage:

certmonitor -cert=.tmp/minikube_api_tls.crt_local -key=.tmp/minikube_api_tls.key_local -root=.tmp/kubeca_root_local.pem -interval=30s

In a Pod, point it at the Secret the operator writes, as examples/shop/pod.yaml does with the image effectivesecurity/certmonitor (Dockerfile.certmonitor, built and loaded by make minikube-images):

certmonitor -cert=/etc/tls/tls.crt -key=/etc/tls/tls.key -root=/etc/tls/ca.crt -interval=10s

The image is distroless: it has no shell, ls or cat, so kubectl exec into it does not work; read its log, and the files from the Secret.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL