certmanager

package
v0.114.0 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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCertManagerPermissions

func CheckCertManagerPermissions(ctx context.Context, reviewer *rbac.Reviewer) (admission.Warnings, error)

CheckCertManagerPermissions checks if the operator has the needed permissions to manage cert-manager certificates automatically. If the RBAC is there, no errors nor warnings are returned.

Types

type Availability

type Availability int

Availability represents that the Cert Manager CRDs are installed and the operator's service account has permissions to manage cert-manager resources.

const (
	// NotAvailable Cert Manager CRDs or RBAC permissions to manage cert-manager certificates are not available.
	NotAvailable Availability = iota

	// Available Cert Manager CRDs and RBAC permissions to manage cert-manager certificates are available.
	Available
)

func (Availability) String

func (p Availability) String() string

Jump to

Keyboard shortcuts

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