Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReconcileRbac ¶
func ReconcileRbac(ctx context.Context, h *helper.Helper, instance Reconciler, rules []rbacv1.PolicyRule) (ctrl.Result, error)
ReconcileRbac - configures the serviceaccount, role, and role binding for the Reconciler instance
Types ¶
type Reconciler ¶
type Reconciler interface { // RbacConditionsSet - set the conditions on the instance RbacConditionsSet(c *condition.Condition) // RbacNamespace - return a string representing the namespace RbacNamespace() string // RbacResourceName - name of the resource to be used in the rbac resources (service, role, rolebinding)) RbacResourceName() string }
Reconciler - interface for rbac reconcilers
Click to show internal directories.
Click to hide internal directories.