Skip to content

Commit

Permalink
Improve warning about GitRepo HelmCharts
Browse files Browse the repository at this point in the history
Signed-off-by: leigh capili <leigh@null.net>
  • Loading branch information
stealthybox committed Mar 8, 2021
1 parent 0328bb1 commit 32b6297
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/guides/helmreleases.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:

Expand Down

0 comments on commit 32b6297

Please sign in to comment.