operator

package
v0.0.0-...-48a09ea Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2025 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetricsCertificateSecretName  = "metrics-server-cert"
	WebhookCertificateSecretName  = "webhook-server-cert"
	WebhookCertificateName        = "lws-serving-cert"
	CertManagerInjectCaAnnotation = "cert-manager.io/inject-ca-from"
	// PrometheusClientCertsPath is a mounted secret in the openshift-monitoring prometheus
	PrometheusClientCertsPath = "/etc/prometheus/secrets/metrics-client-certs/"
)

Variables

This section is empty.

Functions

func ApplyServiceMonitor

func ApplyServiceMonitor(ctx context.Context, client dynamic.Interface, recorder events.Recorder, required *monitoringv1.ServiceMonitor, cache resourceapply.ResourceCache) (*unstructured.Unstructured, bool, error)

ApplyServiceMonitor applies the ServiceMonitor.

func NewTargetConfigReconciler

func NewTargetConfigReconciler(
	targetImage string,
	namespace string,
	operatorConfigClient leaderworkersetoperatorv1clientset.LeaderWorkerSetOperatorInterface,
	operatorClientInformer operatorclientinformers.LeaderWorkerSetOperatorInformer,
	kubeInformersForNamespaces v1helpers.KubeInformersForNamespaces,
	leaderWorkerSetOperatorClient *operatorclient.LeaderWorkerSetClient,
	dynamicClient dynamic.Interface,
	discoveryClient discovery.DiscoveryInterface,
	kubeClient kubernetes.Interface,
	apiExtensionClient *apiextclientv1.Clientset,
	eventRecorder events.Recorder,
) factory.Controller

func ReadServiceMonitorV1OrDie

func ReadServiceMonitorV1OrDie(objBytes []byte) *monitoringv1.ServiceMonitor

Types

type TargetConfigReconciler

type TargetConfigReconciler struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL