Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrafanaOperatorReconciler ¶
type GrafanaOperatorReconciler struct {
*utils.ComponentReconciler
}
func NewGrafanaOperatorReconciler ¶
func NewGrafanaOperatorReconciler(c client.Client, s *runtime.Scheme, dc discovery.DiscoveryInterface) *GrafanaOperatorReconciler
func (*GrafanaOperatorReconciler) Run ¶
func (r *GrafanaOperatorReconciler) Run(cr *v1alpha1.PlatformMonitoring) error
Run reconciles grafana-operator. Creates new cluster role, cluster role binding and grafana custom resource if its don't exists. Updates deployment and service in case of any changes. Returns true if need to requeue, false otherwise.
Click to show internal directories.
Click to hide internal directories.