File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ import (
20
20
"sigs.k8s.io/cli-utils/pkg/inventory"
21
21
"sigs.k8s.io/cli-utils/pkg/manifestreader"
22
22
"sigs.k8s.io/cli-utils/pkg/provider"
23
- "sigs.k8s.io/kustomize/kyaml/openapi"
24
- "sigs.k8s.io/kustomize/kyaml/setters2"
25
23
)
26
24
27
25
func GetApplyRunner (provider provider.Provider , loader manifestreader.ManifestLoader , ioStreams genericclioptions.IOStreams ) * ApplyRunner {
@@ -85,9 +83,6 @@ type ApplyRunner struct {
85
83
}
86
84
87
85
func (r * ApplyRunner ) RunE (cmd * cobra.Command , args []string ) error {
88
- if err := setters2 .CheckRequiredSettersSet (openapi .Schema ()); err != nil {
89
- return err
90
- }
91
86
prunePropPolicy , err := convertPropagationPolicy (r .prunePropagationPolicy )
92
87
if err != nil {
93
88
return err
Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ import (
19
19
"sigs.k8s.io/cli-utils/pkg/inventory"
20
20
"sigs.k8s.io/cli-utils/pkg/manifestreader"
21
21
"sigs.k8s.io/cli-utils/pkg/provider"
22
- "sigs.k8s.io/kustomize/kyaml/openapi"
23
- "sigs.k8s.io/kustomize/kyaml/setters2"
24
22
)
25
23
26
24
var (
@@ -82,10 +80,6 @@ type PreviewRunner struct {
82
80
83
81
// RunE is the function run from the cobra command.
84
82
func (r * PreviewRunner ) RunE (cmd * cobra.Command , args []string ) error {
85
- err := setters2 .CheckRequiredSettersSet (openapi .Schema ())
86
- if err != nil {
87
- return err
88
- }
89
83
var ch <- chan event.Event
90
84
91
85
drs := common .DryRunClient
You can’t perform that action at this time.
0 commit comments