mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-19 10:01:35 +02:00
Add --skip-crds to helmfile sync and helmfile apply (#1771)
Resolves #1770
This commit is contained in:
@@ -513,6 +513,10 @@ func (st *HelmState) prepareSyncReleases(helm helmexec.Interface, additionalValu
|
||||
}
|
||||
}
|
||||
|
||||
if opts.SkipCRDs {
|
||||
flags = append(flags, "--skip-crds")
|
||||
}
|
||||
|
||||
if opts.Wait {
|
||||
flags = append(flags, "--wait")
|
||||
}
|
||||
@@ -595,6 +599,7 @@ func (st *HelmState) DetectReleasesToBeDeleted(helm helmexec.Interface, releases
|
||||
type SyncOpts struct {
|
||||
Set []string
|
||||
SkipCleanup bool
|
||||
SkipCRDs bool
|
||||
Wait bool
|
||||
WaitForJobs bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user