Documentation ¶
Index ¶
- Variables
- func ReplaceSettingsFieldWithEnvRefToSecretField(req req, settings settings, dstField string, srcSecretRefField string, ...) bool
- func ReplaceSettingsFieldWithMountedFile(req req, settings *api.Settings, srcSecretRefField string) bool
- func ReplaceSettingsFieldWithSecretFieldValue(req req, settings settings, dstField string, srcSecretRefField string, ...) bool
- type SecretGetter
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSecretValueNotFound = fmt.Errorf("secret value not found")
Functions ¶
func ReplaceSettingsFieldWithEnvRefToSecretField ¶
func ReplaceSettingsFieldWithEnvRefToSecretField( req req, settings settings, dstField string, srcSecretRefField string, envVarNamePrefix string, parseScalarString bool, ) bool
ReplaceSettingsFieldWithEnvRefToSecretField substitute users settings field with ref to ENV var where value from k8s secret is stored in
func ReplaceSettingsFieldWithSecretFieldValue ¶
func ReplaceSettingsFieldWithSecretFieldValue( req req, settings settings, dstField string, srcSecretRefField string, secretGet SecretGetter, ) bool
ReplaceSettingsFieldWithSecretFieldValue substitute users settings field with the value read from k8s secret
Types ¶
Click to show internal directories.
Click to hide internal directories.