common

package
v0.78.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyCABundlesForStatefulSet added in v0.77.0

func ApplyCABundlesForStatefulSet(name string) func(u *unstructured.Unstructured) error

ApplyCABundlesForStatefulSet is a transformer that adds CA bundle configurations to a StatefulSet. It configures both trusted CA bundle and service CA bundle by: - Adding volumes for the CA bundle ConfigMaps - Adding volume mounts to containers - Setting up necessary annotations for OpenShift service CA injection The function modifies the StatefulSet in place and returns any error encountered.

func ApplyCABundlesToDeployment added in v0.77.0

func ApplyCABundlesToDeployment(u *unstructured.Unstructured) error

ApplyCABundlesToDeployment is a transformer that add the trustedCA volume, mount and environment variables so that the deployment uses it.

func RemoveFsGroupForDeployment added in v0.63.0

func RemoveFsGroupForDeployment() mf.Transformer

RemoveFsGroupForDeployment will remove FsGroup in a deployment

func RemoveFsGroupForJob added in v0.63.0

func RemoveFsGroupForJob() mf.Transformer

RemoveFsGroupForJob will remove FsGroup in a job

func RemoveFsGroupForStatefulSet added in v0.77.0

func RemoveFsGroupForStatefulSet(name string) mf.Transformer

RemoveFsGroupForStatefulSet will remove FsGroup in a statefulset

func RemoveRunAsGroup

func RemoveRunAsGroup() mf.Transformer

RemoveRunAsGroup will remove runAsGroup from all container in a deployment

func RemoveRunAsGroupForStatefulSet added in v0.77.0

func RemoveRunAsGroupForStatefulSet(name string) mf.Transformer

RemoveRunAsGroupForStatefulSet will remove runAsGroup from all container in a statefulset

func RemoveRunAsUser added in v0.50.0

func RemoveRunAsUser() mf.Transformer

RemoveRunAsUser will remove RunAsUser from all container in a deployment

func RemoveRunAsUserForJob added in v0.63.0

func RemoveRunAsUserForJob() mf.Transformer

RemoveRunAsUserForJob will remove RunAsUser from all container in a job

func RemoveRunAsUserForStatefulSet added in v0.77.0

func RemoveRunAsUserForStatefulSet(name string) mf.Transformer

RemoveRunAsUserForStatefulset will remove RunAsUser from all container in a statefulset

func UpdateServiceMonitorTargetNamespace added in v0.64.0

func UpdateServiceMonitorTargetNamespace(targetNamespace string) mf.Transformer

Types

This section is empty.

Jump to

Keyboard shortcuts

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