# Functions

Add creates a new IamPolicy Controller and adds it to the Manager with default RBAC.
Initialize to initialize some controller varaibles.
PeriodicallyExecGRCPolicies always check status - let this be the only function in the controller.

# Constants

Finalizer used to ensure consistency when deleting a CRD.

# Variables

EventOnParent specifies if we also want to send events to the parent policy.
KubeClient a k8s client used for k8s native resources.
NamespaceWatched defines which namespace we can watch for the GRC policies and ignore others.
PlcChan a channel used to pass policies ready for update.
PrometheusAddr port addr for prom metrics.

# Structs

Annotation for generating RBAC role for writing Events +kubebuilder:rbac:groups="",resources=events,verbs=create;patch ReconcileGRCPolicy reconciles a IamPolicy object.