Skip to content

Commit

Permalink
Fixup template for OOB and porting new chart for single chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvind Iyengar committed May 11, 2021
1 parent 80797e0 commit 79f9e97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,12 @@ In the Staging branch, porting over charts from another branch (e.g. `dev-v2.x+1
OTHER_BRANCH=dev-v2.x+1
STAGING_BRANCH=dev-v2.x
FORKED_BRANCH=dev-v2.x-with-port
NEW_CHART_DIR=charts/rancher-monitoring/rancher-monitoring/X.X.X
NEW_ASSET_TGZ=assets/rancher-monitoring/rancher-monitoring-X.X.X.tgz
git fetch upstream
git checkout upstream/${STAGING_BRANCH} -b ${FORKED_BRANCH}
git branch -u origin/${FORKED_BRANCH}
git checkout upstream/${OTHER_BRANCH} -- charts assets
git checkout upstream/${OTHER_BRANCH} -- ${NEW_CHART_DIR} ${NEW_ASSET_TGZ}
helm repo index --merge ./index.yaml --url assets assets; # FYI: This will generate new 'created' timestamps across *all charts*.
mv assets/index.yaml index.yaml
git add charts assets index.yaml
Expand Down

0 comments on commit 79f9e97

Please sign in to comment.