selfsigned

package
v1.6.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

This section is empty.

Types

type SelfSigned

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

SelfSigned is a controller for signing Kubernetes CertificateSigningRequest using SelfSigning Issuers.

func NewSelfSigned

func NewSelfSigned(ctx *controllerpkg.Context) *SelfSigned

func (*SelfSigned) Sign

Sign attempts to sign the given CertificateSigningRequest based on the provided SelfSigned Issuer or ClusterIssuer. This function will update the resource if signing was successful. Returns an error which, if not nil, should trigger a retry. CertificateSigningRequests must have the "experimental.cert-manager.io/private-key-secret-name" annotation present to be signed. This annotation must reference a valid Secret containing a private key for signing.

Jump to

Keyboard shortcuts

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