Skip to content

Commit

Permalink
[helm] Adding appVersion to show in the helm cli
Browse files Browse the repository at this point in the history
Signed-off-by: dd di cesare <[email protected]>
  • Loading branch information
didierofrivia committed Nov 20, 2024
1 parent 018de4e commit 23fd697
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/authorino-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ kubeVersion: ">=1.19.0-0"
type: application
# The version will be properly set when the chart is released matching the operator version
version: "0.0.0"
appVersion: "0.0.0"
maintainers:
- email: [email protected]
name: Guilherme Cassolato
Expand Down
1 change: 1 addition & 0 deletions make/helm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ helm-build: $(YQ) kustomize manifests ## Build the helm chart from kustomize man
# Build the helm chart templates from kustomize manifests
$(KUSTOMIZE) build config/helm > charts/authorino-operator/templates/manifests.yaml
V="$(BUNDLE_VERSION)" $(YQ) -i e '.version = strenv(V)' charts/authorino-operator/Chart.yaml
V="$(BUNDLE_VERSION)" $(YQ) -i e '.appVersion = strenv(V)' charts/authorino-operator/Chart.yaml
# Roll back edit
cd config/manager && $(KUSTOMIZE) edit set image controller=${DEFAULT_OPERATOR_IMAGE}
cd config/helm && $(KUSTOMIZE) edit set namespace authorino-operator
Expand Down

0 comments on commit 23fd697

Please sign in to comment.