Documentation
¶
Overview ¶
Package validation enforces Worker cross-field rules at reconciliation time. CEL/XValidation requires Kubernetes 1.25+, but the Operator's minimum supported Kubernetes version is not being raised. OperatorHub/Red Hat installations install all CRDs in the OLM bundle; they cannot omit the Worker CRD on older clusters. Keep these rules in the reconciler so the Worker does not impose a newer Kubernetes requirement on every Operator installation. See https://github.com/DataDog/datadog-operator/pull/3501#discussion_r4080491818.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateWorkerSpec ¶
func ValidateWorkerSpec(spec *datadoghqv1alpha1.DatadogObservabilityPipelinesWorkerSpec) field.ErrorList
ValidateWorkerSpec checks image, component, API key Secret and reserved name rules after defaults are applied. Single-field constraints, such as minimum lengths, remain in the CRD schema.
Types ¶
This section is empty.