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 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"