Skip to content

Kubernetes controller to monitor certificates in secrets

Notifications You must be signed in to change notification settings

NectGmbH/cert-monitor-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cert-monitor-controller

Kubernetes controller to monitor certificates in secrets. Secrets are automatically scanned periodically and on add / update and expiry of contained certificates are exposed as Prometheus metrics.

The helm chart contains all resources to install the controller itself, PrometheusRule, ServiceMonitor and Grafana dashboard for the kube-prometheus-stack.

Usage

Usage of ./cert-monitor-controller:
  -kubeconfig string
    	Path to a kubeconfig. Only required if out-of-cluster.
  -listen string
    	Address to listen on for HTTP requests (default ":3000")
  -log-level string
    	Log-level to use for output (default "info")
  -master string
    	The address of the Kubernetes API server. Overrides any value in kubeconfig. Only required if out-of-cluster.
  -metrics-prefix string
    	How to prefix the metrics generated by this controller (default "k8s_cert_monitor")
  -rescan-interval duration
    	How often to re-scan existing secrets without events (default 1h0m0s)

Deploy using helm

# helm upgrade -i certmon --namespace certmon ./chart -f my-values.yaml

For documentation of values available to override see chart/values.yaml file.

About

Kubernetes controller to monitor certificates in secrets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published