From 32b6297e7f25ebd9c7a73c50a24cc69b331038c3 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..41416050b5 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`: