Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPrometheusTLSEnabled ¶
func IsPrometheusTLSEnabled(cr *v1alpha1.PlatformMonitoring) bool
Types ¶
type PrometheusReconciler ¶
type PrometheusReconciler struct {
*utils.ComponentReconciler
}
PrometheusReconciler provides methods to reconcile Prometheus
func NewPrometheusReconciler ¶
func NewPrometheusReconciler(c client.Client, s *runtime.Scheme, dc discovery.DiscoveryInterface) *PrometheusReconciler
NewPrometheusReconciler creates an instance of PrometheusReconciler
func (*PrometheusReconciler) Run ¶
func (r *PrometheusReconciler) Run(cr *v1alpha1.PlatformMonitoring) error
Run reconciles prometheus-operator. Creates new deployment, service, service account, cluster role and cluster role binding 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.