mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-09 15:35:46 +02:00
Fix --skip-crds not working with chartify (#1774)
Follow-up for #1771 Ref #1770 Ref https://github.com/roboll/helmfile/pull/1771#issuecomment-817399338
This commit is contained in:
+10
-4
@@ -3,15 +3,16 @@ package app
|
||||
import (
|
||||
"bufio"
|
||||
"bytes"
|
||||
"io"
|
||||
"path/filepath"
|
||||
"sync"
|
||||
"testing"
|
||||
|
||||
"github.com/roboll/helmfile/pkg/exectest"
|
||||
"github.com/roboll/helmfile/pkg/helmexec"
|
||||
"github.com/roboll/helmfile/pkg/testhelper"
|
||||
"github.com/variantdev/vals"
|
||||
"go.uber.org/zap"
|
||||
"io"
|
||||
"path/filepath"
|
||||
"sync"
|
||||
"testing"
|
||||
)
|
||||
|
||||
type diffConfig struct {
|
||||
@@ -20,6 +21,7 @@ type diffConfig struct {
|
||||
retainValuesFiles bool
|
||||
set []string
|
||||
validate bool
|
||||
skipCRDs bool
|
||||
skipDeps bool
|
||||
includeTests bool
|
||||
suppressSecrets bool
|
||||
@@ -49,6 +51,10 @@ func (a diffConfig) Validate() bool {
|
||||
return a.validate
|
||||
}
|
||||
|
||||
func (a diffConfig) SkipCRDs() bool {
|
||||
return a.skipCRDs
|
||||
}
|
||||
|
||||
func (a diffConfig) SkipDeps() bool {
|
||||
return a.skipDeps
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user