transforms

package
v0.0.0-...-cc682f1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddEnvVariable

func AddEnvVariable(variableName string, variableValue interface{}) func(u *unstructured.Unstructured) error

AddEnvVariable produces a transformation capable of adding an environment variable value

func InjectOwnerReference

func InjectOwnerReference(ownerReference metav1.OwnerReference) func(u *unstructured.Unstructured) error

func MountSecret

func MountSecret(secretName string, mountPoint string) func(u *unstructured.Unstructured) error

Mount a secret by name

func ReplaceEnvVariable

func ReplaceEnvVariable(variableName string, variableValue interface{}) func(u *unstructured.Unstructured) error

ReplaceEnvVariable produces a transformation capable of replacing an environment variable value

Types

This section is empty.

Jump to

Keyboard shortcuts

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