mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-20 19:10:34 +00:00
Set chart appVersion with 'helm package' on release
Use the '--app-version' parameter to 'helm package' to dynamically set the chart 'appVersion' field. We can then omit the hardcoded 'appVersion' field in the Chart.yaml file. The chart 'version' field is also set by 'helm package' but we still need to define it in the Chart.yaml file since 'help dep update' requires it. The placeholder 'version' field is now set to 0.0.0 just to give it some value. For E2E, since the version fields are no longer hardcoded, it now simulates a release by running 'helm package' and extracting the tar files to HELM_REPO_LOCATION, now set to ./helm_repo. Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
This commit is contained in:
committed by
Stephen Kitt
parent
ce27971323
commit
5179a1de02
@@ -1,8 +1,7 @@
|
||||
---
|
||||
name: submariner-k8s-broker
|
||||
version: 0.14.0-rc2
|
||||
version: 0.0.0
|
||||
apiVersion: v2
|
||||
appVersion: 0.14.0-rc2
|
||||
description: Submariner Kubernetes Broker
|
||||
keywords:
|
||||
home: https://submariner-io.github.io/
|
||||
|
||||
Reference in New Issue
Block a user