Skip to content

Commit e2e063f

Browse files
committed
Include CRDs for clusteraddons
Signed-off-by: Roman Hros <[email protected]>
1 parent 04219fc commit e2e063f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/controller/clusteraddon_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ func buildTemplateFromClusterAddonValues(ctx context.Context, addonValuePath str
354354
// The return yaml file path will be /tmp/downloads/cluster-stacks/myprovider-myclusterstack-1-26-v2/myprovider-myclusterstack-1-26-v2.tgz.yaml.
355355
func helmTemplateClusterAddon(chartPath string, helmTemplate []byte) ([]byte, error) {
356356
helmCommand := "helm"
357-
helmArgs := []string{"template"}
357+
helmArgs := []string{"template", "--include-crds"}
358358

359359
input := bytes.NewBuffer(helmTemplate)
360360

0 commit comments

Comments
 (0)