From 8e71993f84cd57ad28f88840edb0659b2b20047c Mon Sep 17 00:00:00 2001 From: leigh capili Date: Mon, 8 Mar 2021 13:29:17 -0700 Subject: [PATCH] Improve warning about GitRepo HelmCharts Signed-off-by: leigh capili --- docs/guides/helmreleases.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/guides/helmreleases.md b/docs/guides/helmreleases.md index 3694e8186d..ea6acde355 100644 --- a/docs/guides/helmreleases.md +++ b/docs/guides/helmreleases.md @@ -62,12 +62,12 @@ Charts from Git repositories can be released by declaring a repository on an interval and expose it as an artifact. The source-controller can build and expose Helm charts as artifacts -from the contents of the `GitRepository` artifact (more about this -later on in the guide). +from the contents of the `GitRepository` artifact [(more about this +later on in the guide)](#define-a-helm-release). -**There is one caveat you should be aware of:** to make the -source-controller produce a new chart artifact, the `version` in the -`Chart.yaml` of the chart must be bumped. +!!! warning "Arbitrary changes in Git do not produce new charts." + source-controller's `HelmChart` only publishes a new chart artifact when a commit + bumps the `version` field of the `Chart.yaml` referenced from the `GitRepository`. An example `GitRepository`: