Documentation ¶
Index ¶
- Constants
- func GetDefaultSecretValuesFile(chartDir string, loadedChartFiles []*chart.ChartExtenderBufferedFile) *chart.ChartExtenderBufferedFile
- func GetSecretDirFiles(loadedChartFiles []*chart.ChartExtenderBufferedFile) []*chart.ChartExtenderBufferedFile
- func LoadChartSecretDirFilesData(chartDir string, secretFiles []*chart.ChartExtenderBufferedFile, ...) (map[string]string, error)
- func LoadChartSecretValueFiles(chartDir string, secretDirFiles []*chart.ChartExtenderBufferedFile, ...) (map[string]interface{}, error)
- type DecodeAndLoadSecretsOptions
- type SecretsRuntimeData
Constants ¶
View Source
const ( DefaultSecretValuesFileName = "secret-values.yaml" SecretDirName = "secret" )
Variables ¶
This section is empty.
Functions ¶
func GetDefaultSecretValuesFile ¶ added in v1.2.12
func GetDefaultSecretValuesFile(chartDir string, loadedChartFiles []*chart.ChartExtenderBufferedFile) *chart.ChartExtenderBufferedFile
func GetSecretDirFiles ¶
func GetSecretDirFiles(loadedChartFiles []*chart.ChartExtenderBufferedFile) []*chart.ChartExtenderBufferedFile
func LoadChartSecretDirFilesData ¶
func LoadChartSecretDirFilesData(chartDir string, secretFiles []*chart.ChartExtenderBufferedFile, encoder *secret.YamlEncoder) (map[string]string, error)
func LoadChartSecretValueFiles ¶
func LoadChartSecretValueFiles(chartDir string, secretDirFiles []*chart.ChartExtenderBufferedFile, encoder *secret.YamlEncoder) (map[string]interface{}, error)
Types ¶
type DecodeAndLoadSecretsOptions ¶ added in v1.2.12
type DecodeAndLoadSecretsOptions struct { GiterminismManager giterminism_manager.Interface CustomSecretValueFiles []string LoadFromLocalFilesystem bool }
type SecretsRuntimeData ¶
type SecretsRuntimeData struct { DecodedSecretValues map[string]interface{} DecodedSecretFilesData map[string]string SecretValuesToMask []string }
func NewSecretsRuntimeData ¶
func NewSecretsRuntimeData() *SecretsRuntimeData
func (*SecretsRuntimeData) DecodeAndLoadSecrets ¶
func (secretsRuntimeData *SecretsRuntimeData) DecodeAndLoadSecrets(ctx context.Context, loadedChartFiles []*chart.ChartExtenderBufferedFile, chartDir, secretsWorkingDir string, secretsManager *secrets_manager.SecretsManager, opts DecodeAndLoadSecretsOptions) error
Click to show internal directories.
Click to hide internal directories.