Skip to content

Commit 6089e43

Browse files
committed
feat(clusteraddon): Instruct Helm to update dependencies
Signed-off-by: Jan Schoone <[email protected]>
1 parent d24c1f1 commit 6089e43

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
@@ -1254,7 +1254,7 @@ func buildTemplateFromClusterAddonValues(ctx context.Context, addonValuePath str
12541254
// The return yaml file path will be /tmp/downloads/cluster-stacks/myprovider-myclusterstack-1-26-v2/myprovider-myclusterstack-1-26-v2.tgz.yaml.
12551255
func helmTemplateClusterAddon(chartPath string, helmTemplate []byte, kubernetesVersion string) ([]byte, error) {
12561256
helmCommand := "helm"
1257-
helmArgs := []string{"template", "--include-crds"}
1257+
helmArgs := []string{"template", "--include-crds", "--dependency-update"}
12581258

12591259
input := bytes.NewBuffer(helmTemplate)
12601260

0 commit comments

Comments
 (0)