Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adder ¶
type Adder struct { Opa opa.Client WatchManager *watch.WatchManager }
func (*Adder) Add ¶
Add creates a new ConstraintTemplate Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.
func (*Adder) InjectWatchManager ¶
func (a *Adder) InjectWatchManager(wm *watch.WatchManager)
type ReconcileConstraintTemplate ¶
ReconcileConstraintTemplate reconciles a ConstraintTemplate object
func (*ReconcileConstraintTemplate) Reconcile ¶
func (r *ReconcileConstraintTemplate) Reconcile(request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a ConstraintTemplate object and makes changes based on the state read and what is in the ConstraintTemplate.Spec Automatically generate RBAC rules to allow the Controller to read and write CRDs +kubebuilder:rbac:groups=apiextensions.k8s.io,resources=customresourcedefinitions,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=templates.gatekeeper.sh,resources=constrainttemplates,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=templates.gatekeeper.sh,resources=constrainttemplates/status,verbs=get;update;patch