mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-19 10:01:35 +02:00
fix: use config for IncludeNeeds in WriteValues command
- Add IncludeNeeds() to WriteValuesConfigProvider interface - Implement IncludeNeeds() in WriteValuesImpl - Update WriteValues function to use IncludeNeeds and IncludeTransitiveNeeds Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
@@ -51,6 +51,11 @@ func (c *WriteValuesImpl) SkipCleanup() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// IncludeNeeds returns the include needs
|
||||
func (c *WriteValuesImpl) IncludeNeeds() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// IncludeTransitiveNeeds returns the include transitive needs
|
||||
func (c *WriteValuesImpl) IncludeTransitiveNeeds() bool {
|
||||
return false
|
||||
@@ -60,3 +65,13 @@ func (c *WriteValuesImpl) IncludeTransitiveNeeds() bool {
|
||||
func (c *WriteValuesImpl) OutputFileTemplate() string {
|
||||
return c.WriteValuesOptions.OutputFileTemplate
|
||||
}
|
||||
|
||||
// SkipDeps returns the skip deps
|
||||
func (c *WriteValuesImpl) SkipDeps() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// SkipRefresh returns the skip refresh
|
||||
func (c *WriteValuesImpl) SkipRefresh() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user