Documentation ¶
Index ¶
Constants ¶
View Source
const (
CSRControllerName = "certificatesigningrequests-issuer-ca"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CA ¶
type CA struct {
// contains filtered or unexported fields
}
CA is a Kubernetes CertificateSigningRequest controller, responsible for signing CertificateSigningRequests that reference a cert-manager CA Issuer or ClusterIssuer
func NewCA ¶
func NewCA(ctx *controllerpkg.Context) *CA
func (*CA) Sign ¶
func (c *CA) Sign(ctx context.Context, csr *certificatesv1.CertificateSigningRequest, issuerObj cmapi.GenericIssuer) error
Sign attempts to sign the given CertificateSigningRequest based on the provided CA Issuer or ClusterIssuer. This function will update the resource if signing was successful. Returns an error which, if not nil, should trigger a retry.
Click to show internal directories.
Click to hide internal directories.