mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 11:13:11 +02:00
* feat(state): add missingFileHandlerConfig and related logic Signed-off-by: yxxhero <aiopsclub@163.com> * feat(state): add missingFileHandlerConfig and related logic Signed-off-by: yxxhero <aiopsclub@163.com> --------- Signed-off-by: yxxhero <aiopsclub@163.com>
19 lines
853 B
Go
19 lines
853 B
Go
package state
|
|
|
|
type EnvironmentSpec struct {
|
|
Values []any `yaml:"values,omitempty"`
|
|
Secrets []string `yaml:"secrets,omitempty"`
|
|
KubeContext string `yaml:"kubeContext,omitempty"`
|
|
|
|
// MissingFileHandler instructs helmfile to fail when unable to find a environment values file listed
|
|
// under `environments.NAME.values`.
|
|
//
|
|
// Possible values are "Error", "Warn", "Info", "Debug". The default is "Error".
|
|
//
|
|
// Use "Warn", "Info", or "Debug" if you want helmfile to not fail when a values file is missing, while just leaving
|
|
// a message about the missing file at the log-level.
|
|
MissingFileHandler *string `yaml:"missingFileHandler,omitempty"`
|
|
// MissingFileHandlerConfig is composed of various settings for the MissingFileHandler
|
|
MissingFileHandlerConfig *MissingFileHandlerConfig `yaml:"missingFileHandlerConfig,omitempty"`
|
|
}
|