cert-completer

command module
v0.0.0-...-d7b343c Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

README

Cert Completer

Cert Completer is a small Kubernetes operator that ensures that all TLS secrets have a valid ca.crt.

It addresses a specific issue with the (Let's Encrypt) ACME provider in cert-manager, where certificates are lacking a CA in the ca.crt key of the generated secret. Although issues have been raised to fill the ca.crt (see #2111 and #1571), it is not clear if and when these issues will be resolved. Cert Completer is an attempt to patch this issue immediately regardless of the cert-manager version.

To provide each TLS secret with a ca.crt, the operator parses the certificate chain in tls.crt. It uses the last (top-most) certificate in this chain for ca.crt. Although this does not guarantee that ca.crt contains a root CA, it does guarantee that the CA present is valid for the TLS secret.

Installation

Using pre-built resources:

kubectl apply -f https://raw.githubusercontent.com/erwinvaneyk/cert-completer/master/cert-completer.yaml

Using Kustomize (requires kubectl > 1.15):

kubectl apply -k github.com/erwinvaneyk/cert-completer//config/default

Clone and modify ./config/default/kustomization.yaml for alternative, custom deployments.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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