controllers

package
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: 10 Imported by: 0

Documentation

Index

Constants

View Source
const ErrInvalidCertChain = "failed to parse certificate chain in tls.crt"

Variables

This section is empty.

Functions

This section is empty.

Types

type CertCompleter

type CertCompleter struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

CertCompleter parses the TLS certificate chain in a secret with an empty ca.tls, and updates the secret with the last (top-most) certificate in this chain as the 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.

func (*CertCompleter) Reconcile

func (c *CertCompleter) Reconcile(req reconcile.Request) (reconcile.Result, error)

func (*CertCompleter) SetupWithManager

func (c *CertCompleter) SetupWithManager(mgr ctrl.Manager) error

Jump to

Keyboard shortcuts

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