helm: add appversion property to the charts
The appVersion should be set to the version of the application. Since the helm charts are built by Rook in the same release version as Rook itself, the version and appVersion values will be the same. Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
This commit is contained in:
4 files changed
+4
-3
No files matched your search
@@ -50,8 +50,7 @@ To deploy from a local build from your development environment:
|
||||
|
||||
```console
|
||||
cd cluster/charts/rook-ceph
|
||||
kubectl create namespace rook-ceph
|
||||
helm install --namespace rook-ceph rook-ceph .
|
||||
helm install --create-namespace --namespace rook-ceph rook-ceph .
|
||||
```
|
||||
|
||||
## Uninstalling the Chart
|
||||
|
||||
@@ -42,7 +42,7 @@ $(HELM_OUTPUT_DIR)/$(1)-$(VERSION).tgz: $(HELM) $(HELM_OUTPUT_DIR) $(shell find
|
||||
@cp -aL $(HELM_CHARTS_DIR)/$(1) $(OUTPUT_DIR)
|
||||
@$(SED_IN_PLACE) 's|VERSION|$(VERSION)|g' $(OUTPUT_DIR)/$(1)/values.yaml
|
||||
@$(HELM) lint $(abspath $(OUTPUT_DIR)/$(1)) --set image.tag=$(VERSION)
|
||||
@$(HELM) package --version $(VERSION) -d $(HELM_OUTPUT_DIR) $(abspath $(OUTPUT_DIR)/$(1))
|
||||
@$(HELM) package --version $(VERSION) --app-version $(VERSION) -d $(HELM_OUTPUT_DIR) $(abspath $(OUTPUT_DIR)/$(1))
|
||||
$(HELM_INDEX): $(HELM_OUTPUT_DIR)/$(1)-$(VERSION).tgz
|
||||
endef
|
||||
$(foreach p,$(HELM_CHARTS),$(eval $(call helm.chart,$(p))))
|
||||
|
||||
@@ -2,6 +2,7 @@ apiVersion: v2
|
||||
description: Manages a single Ceph cluster namespace for Rook
|
||||
name: rook-ceph-cluster
|
||||
version: 0.0.1
|
||||
appVersion: 0.0.1
|
||||
icon: https://rook.io/images/rook-logo.svg
|
||||
sources:
|
||||
- https://github.com/rook/rook
|
||||
|
||||
@@ -2,6 +2,7 @@ apiVersion: v2
|
||||
description: File, Block, and Object Storage Services for your Cloud-Native Environment
|
||||
name: rook-ceph
|
||||
version: 0.0.1
|
||||
appVersion: 0.0.1
|
||||
icon: https://rook.io/images/rook-logo.svg
|
||||
sources:
|
||||
- https://github.com/rook/rook
|
||||
|
||||
Reference in new issue
Block a user