Skip to content

Commit

Permalink
Include CRDs for clusteraddons
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Hros <roman.hros@dnation.cloud>
  • Loading branch information
chess-knight committed Mar 28, 2024
1 parent 04219fc commit e2e063f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/clusteraddon_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ func buildTemplateFromClusterAddonValues(ctx context.Context, addonValuePath str
// The return yaml file path will be /tmp/downloads/cluster-stacks/myprovider-myclusterstack-1-26-v2/myprovider-myclusterstack-1-26-v2.tgz.yaml.
func helmTemplateClusterAddon(chartPath string, helmTemplate []byte) ([]byte, error) {
helmCommand := "helm"
helmArgs := []string{"template"}
helmArgs := []string{"template", "--include-crds"}

input := bytes.NewBuffer(helmTemplate)

Expand Down

0 comments on commit e2e063f

Please sign in to comment.