mirror of
https://github.com/kubereboot/kured.git
synced 2026-08-28 05:47:23 +00:00
Update helm chart README using Make
Without this, it's possible that the helm chart documentation contains the `image tag` version which might not be equal to the version in the helm chart, as it's only an example. This is a confusing, so instead we should use make to edit the application version everywhere. This fixes it by updating the Makefile to modify text of the chart's README using a regex looking for something similar to a version; then I used the updated makefile to edit the README, which in turns requires a bump of the version of the chart itself.
This commit is contained in:
@@ -42,4 +42,5 @@ helm-chart:
|
||||
sed -i "s#repository:.*/kured#repository: $(DH_ORG)/kured#g" charts/kured/values.yaml
|
||||
sed -i "s#tag:.*#tag: $(VERSION)#g" charts/kured/values.yaml
|
||||
sed -i "s#appVersion:.*#appVersion: \"$(VERSION)\"#g" charts/kured/Chart.yaml
|
||||
sed -i "s#\`[0-9]*\.[0-9]*\.[0-9]*\`#\`$(VERSION)\`#g" charts/kured/README.md
|
||||
echo "Please bump version in charts/kured/Chart.yaml"
|
||||
|
||||
Reference in New Issue
Block a user