override

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2026 License: Apache-2.0 Imports: 28 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package override provides a set of function to override generic resource such as corev1.PodTemplate and corev1.Container.

Index

Constants

View Source
const (
	FIPSProxyCustomConfigVolumeName = "fips-proxy-cfg"
	FIPSProxyCustomConfigFileName   = "datadog-fips-proxy.cfg"
	FIPSProxyCustomConfigMapName    = "%s-fips-config"
	FIPSProxyCustomConfigMountPath  = "/etc/datadog-fips-proxy/datadog-fips-proxy.cfg"
)

Variables

This section is empty.

Functions

func Container

Container use to override a corev1.Container with a v2alpha1.DatadogAgentGenericContainer.

func DaemonSet

func DaemonSet(daemonSet *v1.DaemonSet, override *v2alpha1.DatadogAgentComponentOverride)

DaemonSet overrides a DaemonSet according to the given override options

func Dependencies

func Dependencies(logger logr.Logger, manager feature.ResourceManagers, ddaMeta metav1.Object, ddaSpec *v2alpha1.DatadogAgentSpec) (errs []error)

Dependencies is used to override any resource/dependency settings with a v2alpha1.DatadogAgentComponentOverride.

func Deployment

func Deployment(deployment *v1.Deployment, override *v2alpha1.DatadogAgentComponentOverride)

Deployment overrides a v1.Deployment according to the given override options

func ExtendedDaemonSet

func ExtendedDaemonSet(eds *edsv1alpha1.ExtendedDaemonSet, override *v2alpha1.DatadogAgentComponentOverride)

ExtendedDaemonSet overrides an ExtendedDaemonSet according to the given override options

func PodTemplateSpec

func PodTemplateSpec(logger logr.Logger, manager feature.PodTemplateManagers, override *v2alpha1.DatadogAgentComponentOverride, componentName v2alpha1.ComponentName, ddaName string)

PodTemplateSpec use to override a corev1.PodTemplateSpec with a 2alpha1.DatadogAgentPodTemplateOverride.

func SetOverrideFromDDA added in v1.16.0

func SetOverrideFromDDA(dda *v2alpha1.DatadogAgent, ddaiSpec *v2alpha1.DatadogAgentSpec)

Types

This section is empty.

Jump to

Keyboard shortcuts

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