mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 09:41:47 +02:00
Merge pull request #88 from chubchubsancho/validate_manifest_on_sync
feat: allow --validate on sync command
This commit is contained in:
@@ -363,6 +363,7 @@ func (a *App) Sync(c SyncConfigProvider) error {
|
||||
WaitForJobs: c.WaitForJobs(),
|
||||
IncludeCRDs: &includeCRDs,
|
||||
IncludeTransitiveNeeds: c.IncludeTransitiveNeeds(),
|
||||
Validate: c.Validate(),
|
||||
}, func() {
|
||||
ok, errs = a.sync(run, c)
|
||||
})
|
||||
|
||||
@@ -85,6 +85,8 @@ type SyncConfigProvider interface {
|
||||
Wait() bool
|
||||
WaitForJobs() bool
|
||||
|
||||
Validate() bool
|
||||
|
||||
SkipNeeds() bool
|
||||
IncludeNeeds() bool
|
||||
IncludeTransitiveNeeds() bool
|
||||
|
||||
Reference in New Issue
Block a user