csrctrl

package
v0.0.0-...-fa361b9 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

An example implementation of a CSR Controller.

Index

Constants

View Source
const RequestLifeTimeAnnotationForCertManager = "experimental.cert-manager.io/request-duration"

Variables

This section is empty.

Functions

This section is empty.

Types

type Signer

type Signer struct {
	// contains filtered or unexported fields
}

func NewSigner

func NewSigner(cl kube.Client, signers map[string]*signer.Signer) *Signer

func (*Signer) HasSynced

func (s *Signer) HasSynced() bool

func (*Signer) Reconcile

func (s *Signer) Reconcile(key types.NamespacedName) error

func (*Signer) Run

func (s *Signer) Run(stop <-chan struct{})

type SignerRootCert

type SignerRootCert struct {
	Signer   string
	Rootcert string
}

func RunCSRController

func RunCSRController(signerNames string, stop <-chan struct{}, clients []kube.Client) ([]SignerRootCert, error)

Jump to

Keyboard shortcuts

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