operator

package
v0.0.0-...-52f0951 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WebhookCertificateSecretName  = "webhook-server-cert"
	MetricsCertificateSecretName  = "metrics-server-cert"
	WebhookCertificateName        = "jobset-serving-cert"
	CertManagerInjectCaAnnotation = "cert-manager.io/inject-ca-from"
	OpenshiftMonitoringNamespace  = "openshift-monitoring"
	// 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(targetImagePullSpec, operatorNamespace string, operatorClientInformer operatorclientinformers.JobSetOperatorInformer, kubeInformersForNamespaces v1helpers.KubeInformersForNamespaces, jobSetOperatorClient *operatorclient.JobSetOperatorClient, kubeClient kubernetes.Interface, dynamicClient dynamic.Interface, apiextensionsClient *apiextensionsclient.Clientset, discoveryClient discovery.DiscoveryInterface, 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