Skip to content

Commit 4789dc2

Browse files
jschoonegarloff
andauthored
✨ Instruct Helm to update dependencies (#296)
* feat(clusteraddon): Instruct Helm to update dependencies --------- Signed-off-by: Jan Schoone <[email protected]> Co-authored-by: Kurt Garloff <[email protected]>
1 parent 2546dfb commit 4789dc2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charts/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type: application
1313
# This is the chart version. This version number should be incremented each time you make changes
1414
# to the chart and its templates, including the app version.
1515
# Versions are expected to follow Semantic Versioning (https://semver.org/)
16-
version: 0.2.0
16+
version: 0.3.0
1717
# This is the version number of the application being deployed. This version number should be
1818
# incremented each time you make changes to the application. Versions are not expected to
1919
# follow Semantic Versioning. They should reflect the version the application is using.

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)