Vendored
+1
-4
@@ -54,6 +54,7 @@ type Config struct {
|
|||||||
Chart string `` // Chart argument to use in applicable helm commands
|
Chart string `` // Chart argument to use in applicable helm commands
|
||||||
Release string `` // Release argument to use in applicable helm commands
|
Release string `` // Release argument to use in applicable helm commands
|
||||||
Force bool `envconfig:"force_upgrade"` // Pass --force-replace to applicable helm commands
|
Force bool `envconfig:"force_upgrade"` // Pass --force-replace to applicable helm commands
|
||||||
|
ForceConflicts bool `split_words:"true"` // Pass --force-conflicts to `helm upgrade` (ДОБАВЛЕНО)
|
||||||
AtomicUpgrade bool `split_words:"true"` // Pass --atomic to `helm upgrade`
|
AtomicUpgrade bool `split_words:"true"` // Pass --atomic to `helm upgrade`
|
||||||
CleanupOnFail bool `envconfig:"cleanup_failed_upgrade"` // Pass --cleanup-on-fail to `helm upgrade`
|
CleanupOnFail bool `envconfig:"cleanup_failed_upgrade"` // Pass --cleanup-on-fail to `helm upgrade`
|
||||||
LintStrictly bool `split_words:"true"` // Pass --strict to `helm lint`
|
LintStrictly bool `split_words:"true"` // Pass --strict to `helm lint`
|
||||||
@@ -161,10 +162,6 @@ func (cfg *Config) deprecationWarn() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// settingAliases provides alternate environment variable names for certain settings, either because
|
|
||||||
// they were renamed during drone-helm3's lifetime or for backward-compatibility with the original
|
|
||||||
// drone-helm. Most config options don't need to be included here; adding them to the main Config
|
|
||||||
// struct is sufficient.
|
|
||||||
type settingAliases struct {
|
type settingAliases struct {
|
||||||
Command string `envconfig:"helm_command"`
|
Command string `envconfig:"helm_command"`
|
||||||
AddRepos []string `envconfig:"helm_repos"`
|
AddRepos []string `envconfig:"helm_repos"`
|
||||||
|
|||||||
Reference in New Issue
Block a user