mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-05 18:57:17 +02:00
feat: mark deprecated args and cmd for v1 (#628)
* feat: mark deprecated args and cmd for v1 Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
@@ -16,8 +16,11 @@ type ApplyOptions struct {
|
||||
Output string
|
||||
// DetailedExitcode is true if the exit code should be 2 instead of 0 if there were changes detected and the changes were synced successfully
|
||||
DetailedExitcode bool
|
||||
|
||||
// TODO: Remove this function once Helmfile v0.x
|
||||
// DEPRECATED: Use skip-cleanup instead
|
||||
RetainValuesFiles bool
|
||||
|
||||
// SkipCleanup is true if the cleanup of temporary values files should be skipped
|
||||
SkipCleanup bool
|
||||
// SkipCRDs is true if the CRDs should be skipped
|
||||
@@ -113,6 +116,7 @@ func (a *ApplyImpl) IncludeTransitiveNeeds() bool {
|
||||
return a.ApplyOptions.IncludeTransitiveNeeds
|
||||
}
|
||||
|
||||
// TODO: Remove this function once Helmfile v0.x
|
||||
// RetainValuesFiles returns the retain values files.
|
||||
func (a *ApplyImpl) RetainValuesFiles() bool {
|
||||
return a.ApplyOptions.RetainValuesFiles
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// TODO: Remove this function once Helmfile v0.x
|
||||
package config
|
||||
|
||||
// ChartsOptions is the options for the build command
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// TODO: Remove this function once Helmfile v0.x
|
||||
package config
|
||||
|
||||
// DeleteOptions is the options for the build command
|
||||
|
||||
Reference in New Issue
Block a user