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:
Travis Nielsen committed 2021-10-28 09:26:18 -06:00
1 parent f55479ba72
commit bffe99c39d
4 files changed
+4 -3

No files matched your search

+1 -2
View File
@@ -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
+1 -1
View File
@@ -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
+1
View File
@@ -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