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
Click to show internal directories.
Click to hide internal directories.