initcontainers

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeInitContainers

func MergeInitContainers(base []corev1.Container, patches []corev1.Container) ([]corev1.Container, error)

MergeInitContainers performs a strategic merge of init containers. Containers with the same name in the patch will be merged into the base, and new containers will be appended. The merge uses Kubernetes' strategic merge patch semantics with name as the merge key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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