From 0e2c189cfa2815a029505ae17150b08b9fb8f8a9 Mon Sep 17 00:00:00 2001 From: Milad Date: Fri, 8 Dec 2023 15:21:33 +0100 Subject: [PATCH] update instruction to update helm chart --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a8cb4aa..b2b923c 100644 --- a/README.md +++ b/README.md @@ -40,10 +40,16 @@ helm lint hm-basic-webapp ``` 4. Build zip file: ``` -helm package hm-basic-webapp/ +mkdir -p artifact-tmp +helm package hm-basic-webapp --destination artifact-tmp ``` 5. update the `index.yaml` file: ``` -helm repo index --url https://highmobility.github.io/helm-charts/ --merge index.yaml . +helm repo index --url https://highmobility.github.io/helm-charts/ --merge index.yaml artifact-tmp ``` -6. Commit the zip file(s) and index.yaml and push to main +6. Move the new files to the root dir +``` +mv artifact-tmp/* ./ +rm -rf artifact-tmp +``` +7. Commit the zip file(s) and index.yaml and push to main