From a843bfcd6c3916cf89a476ebed526f77c14c63bf Mon Sep 17 00:00:00 2001 From: Jon Ayers Date: Thu, 15 Feb 2024 01:20:31 +0000 Subject: [PATCH 1/2] chore: move helm files into helm dir --- Chart.yaml => helm/Chart.yaml | 0 {templates => helm/templates}/service.yaml | 0 values.yaml => helm/values.yaml | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename Chart.yaml => helm/Chart.yaml (100%) rename {templates => helm/templates}/service.yaml (100%) rename values.yaml => helm/values.yaml (100%) diff --git a/Chart.yaml b/helm/Chart.yaml similarity index 100% rename from Chart.yaml rename to helm/Chart.yaml diff --git a/templates/service.yaml b/helm/templates/service.yaml similarity index 100% rename from templates/service.yaml rename to helm/templates/service.yaml diff --git a/values.yaml b/helm/values.yaml similarity index 100% rename from values.yaml rename to helm/values.yaml From c1b0d319bee3b85c3ae5e516bc7a1c1759112f28 Mon Sep 17 00:00:00 2001 From: Jon Ayers Date: Thu, 15 Feb 2024 02:16:49 +0000 Subject: [PATCH 2/2] copy helm files into build dir --- scripts/helm.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/helm.sh b/scripts/helm.sh index 7a89f4d..f985535 100755 --- a/scripts/helm.sh +++ b/scripts/helm.sh @@ -65,13 +65,16 @@ fi # path of `helm package` except for the directory name :/ temp_dir="$(mktemp -d)" -cd ./ +cd . +mkdir -p build +cp ./LICENSE build +cp -r helm/* build log "--- Packaging helm chart for version $version ($output_path)" helm package \ --version "$version" \ --app-version "$version" \ --destination "$temp_dir" \ - . 1>&2 + ./build 1>&2 log "Moving helm chart to $output_path" cp "$temp_dir"/*.tgz "$output_path"