Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsForbiddenEnvVar ¶ added in v0.21.0
func MergeEnvVars ¶
func MergeEnvVars(from []corev1.EnvVar, into []corev1.EnvVar, overwriteValues bool) ([]corev1.EnvVar, error)
MergeEnvVars merges one slice of corev1.EnvVar into another slice of corev1.EnvVar if overwriteValues is false, this function will return an error if a duplicate EnvVar name is encountered if overwriteValues is true, this function will overwrite the existing value with the new value if a duplicate is encountered
func SetForbiddenEnvVars ¶ added in v0.21.0
func SetForbiddenEnvVars(entries []string)
SetForbiddenEnvVars replaces the forbidden environment variable blocklist. Entries ending with "*" are treated as prefix matches; all others are exact matches.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.