venafi

package
v1.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CSRControllerName = "certificatesigningrequests-issuer-venafi"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Venafi

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

Venafi is a Kubernetes CertificateSigningRequest controller, responsible for signing CertificateSigningRequests that reference a cert-manager Venafi Issuer or ClusterIssuer

func NewVenafi

func NewVenafi(ctx *controllerpkg.Context) *Venafi

func (*Venafi) Sign

Sign attempts to sign the given CertificateSigningRequest based on the provided Venafi Issuer or ClusterIssuer. This function will update the resource if signing was successful. Returns an error which, if not nil, should trigger a retry. Since this signer takes some time to sign the request, this controller will set a "pick ID" annotation value that is used to fetch the latest state of the request in subsequent re-syncs. The re-syncs are triggered by using the workqueue's back-off mechanism.

Jump to

Keyboard shortcuts

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