Skip to content

Commit 1140134

Browse files
Merge pull request #2060 from JoelSpeed/fix-manifest-merge
Ensure custom feature gate mainfest path is passed into generator
2 parents a152302 + f199b1f commit 1140134

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/codegen/cmd/crd_manifest_merge.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package main
22

33
import (
44
"fmt"
5+
56
"github.com/openshift/api/tools/codegen/pkg/generation"
67
"github.com/openshift/api/tools/codegen/pkg/manifestmerge"
78
"github.com/spf13/cobra"
@@ -40,6 +41,7 @@ func init() {
4041
// newSchemaPatchGenerator builds a new schemapatch generator.
4142
func newCRDManifestMerger() generation.Generator {
4243
return manifestmerge.NewGenerator(manifestmerge.Options{
43-
Verify: verify,
44+
PayloadFeatureGatePath: manifestMergePayloadManifestPath,
45+
Verify: verify,
4446
})
4547
}

0 commit comments

Comments
 (0)