Skip to content

Commit

Permalink
Avoid using rolling tag (vmware-tanzu#1081)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andres Martinez Gotor authored and jessehu committed Jul 11, 2019
1 parent b32cc4c commit b7f1588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/chart_sync_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ updateRepo() {
rm "${targetChartPath}/Chart.yaml.bk"
# DANGER: This replaces any tag marked as latest in the values.yaml
local tagWithoutV=$(echo $targetTag | tr -d v)
sed -i.bk 's/tag: latest/tag: '"${tagWithoutV}"'/g' "${targetChartPath}/values.yaml"
sed -i.bk 's/tag: latest/tag: '"${tagWithoutV}"'-r0/g' "${targetChartPath}/values.yaml"
# Use bitnami images
sed -i.bk 's/repository: kubeapps\/\(.*\)/repository: bitnami\/kubeapps-\1/g' "${targetChartPath}/values.yaml"
rm "${targetChartPath}/values.yaml.bk"
Expand Down

0 comments on commit b7f1588

Please sign in to comment.