File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ VERSION ?= $(shell git describe --exact-match 2> /dev/null || \
38
38
RELEASE_VERSION ?= $(shell cat ./version/version.go | grep "Version =" | awk '{ print $$3}' | tr -d '"')
39
39
PREVIOUS_VERSION := 3.23.0
40
40
LATEST_VERSION ?= latest
41
+ DESCRIPTION ?= "A Helm chart for the IBM Common Service Operator"
41
42
42
43
LOCAL_OS := $(shell uname)
43
44
ifeq ($(LOCAL_OS ) ,Linux)
@@ -255,7 +256,7 @@ deploy-dryrun: manifests kustomize ## Deploy controller to the K8s cluster speci
255
256
256
257
.PHONY : helm
257
258
helm : deploy-dryrun kustohelmize
258
- $(KUSTOHELMIZE ) create --from=config/ibm-common-service-operator.yaml generate-helm/ibm-common-service-operator
259
+ $(KUSTOHELMIZE ) create --from=config/ibm-common-service-operator.yaml generate-helm/ibm-common-service-operator --version= $( RELEASE_VERSION ) --app-version= $( RELEASE_VERSION ) --description= $( DESCRIPTION )
259
260
helm lint generate-helm/ibm-common-service-operator
260
261
bash scripts/restructure_helm.sh
261
262
helm lint helm
Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
name : ibm-common-service-operator
3
- description : A Helm chart for Kubernetes
3
+ description : A Helm chart for the IBM Common Service Operator
4
4
5
5
# A chart can be either an 'application' or a 'library' chart.
6
6
#
@@ -15,10 +15,10 @@ type: application
15
15
# This is the chart version. This version number should be incremented each time you make changes
16
16
# to the chart and its templates, including the app version.
17
17
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18
- version : 0.1 .0
18
+ version : 4.11 .0
19
19
20
20
# This is the version number of the application being deployed. This version number should be
21
21
# incremented each time you make changes to the application. Versions are not expected to
22
22
# follow Semantic Versioning. They should reflect the version the application is using.
23
23
# It is recommended to use it with quotes.
24
- appVersion : " 1.16 .0"
24
+ appVersion : " 4.11 .0"
Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
name : ibm-common-service-operator
3
- description : A Helm chart for Kubernetes
3
+ description : A Helm chart for the IBM Common Service Operator
4
4
5
5
# A chart can be either an 'application' or a 'library' chart.
6
6
#
@@ -15,10 +15,10 @@ type: application
15
15
# This is the chart version. This version number should be incremented each time you make changes
16
16
# to the chart and its templates, including the app version.
17
17
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18
- version : 0.1 .0
18
+ version : 4.11 .0
19
19
20
20
# This is the version number of the application being deployed. This version number should be
21
21
# incremented each time you make changes to the application. Versions are not expected to
22
22
# follow Semantic Versioning. They should reflect the version the application is using.
23
23
# It is recommended to use it with quotes.
24
- appVersion : " 1.16 .0"
24
+ appVersion : " 4.11 .0"
Original file line number Diff line number Diff line change @@ -68,7 +68,6 @@ cp $HELM_SRC_DIR/crds/* $CLUSTER_SCOPED_DIR/templates/crds.yaml
68
68
# Todo: rest of resources
69
69
70
70
# Copy Helm values, Chart.yaml and helper.tpl
71
- # sed -i -e "s/^version:.*/version: $CHART_VERSION/" -e "s/^appVersion:.*/appVersion: $CHART_VERSION/" $HELM_DIR/Chart.yaml
72
71
for dir in $HELM_DIR $CLUSTER_SCOPED_DIR ; do cp $HELM_SRC_DIR /{values.yaml,Chart.yaml} " $dir /" ; done
73
72
for dir in $HELM_DIR $CLUSTER_SCOPED_DIR ; do cp $HELM_SRC_DIR /templates/_helpers.tpl " $dir /templates/" ; done
74
73
You can’t perform that action at this time.
0 commit comments