From 7cdd8e1fdc95fc6c0b2fff2018b1c3c9b20fb133 Mon Sep 17 00:00:00 2001 From: dd di cesare Date: Wed, 20 Nov 2024 15:34:46 +0100 Subject: [PATCH 1/2] [helm] Adding chart docs Signed-off-by: dd di cesare --- charts/README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 charts/README.md diff --git a/charts/README.md b/charts/README.md new file mode 100644 index 0000000..21dc28c --- /dev/null +++ b/charts/README.md @@ -0,0 +1,21 @@ +# DNS Operator + +This is the Helm Chart to install the official Kuadrant DNS Kubernetes Operator + +## Installation + +```sh +helm repo add kuadrant https://kuadrant.io/helm-charts/ --force-update +helm install \ + dns-operator kuadrant/dns-operator \ + --create-namespace \ + --namespace kuadrant-system +``` + +### Parameters + +**Coming soon!** At the moment, there's no configuration parameters exposed. + +## Usage + +Read the documentation and user guides in the [Getting Started guide](https://github.com/Kuadrant/dns-operator/?tab=readme-ov-file#getting-started). From 229b8389106d9ddb36a0efd5ec43b989ce2df740 Mon Sep 17 00:00:00 2001 From: dd di cesare Date: Wed, 20 Nov 2024 15:35:15 +0100 Subject: [PATCH 2/2] [helm] Adding appVersion to show in the helm cli Signed-off-by: dd di cesare --- charts/dns-operator/Chart.yaml | 1 + make/helm.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/charts/dns-operator/Chart.yaml b/charts/dns-operator/Chart.yaml index e930520..a9091d1 100644 --- a/charts/dns-operator/Chart.yaml +++ b/charts/dns-operator/Chart.yaml @@ -13,6 +13,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: mnairn@redhat.com name: Michael Nairn diff --git a/make/helm.mk b/make/helm.mk index 7e6dc2a..05fa001 100644 --- a/make/helm.mk +++ b/make/helm.mk @@ -7,6 +7,7 @@ helm-build: yq manifests kustomize operator-sdk ## Build the helm chart from kus # Build the helm chart templates from kustomize manifests $(KUSTOMIZE) build config/helm > charts/dns-operator/templates/manifests.yaml V="$(VERSION)" $(YQ) eval '.version = strenv(V)' -i charts/dns-operator/Chart.yaml + V="$(VERSION)" $(YQ) eval '.appVersion = strenv(V)' -i charts/dns-operator/Chart.yaml .PHONY: helm-install helm-install: $(HELM) ## Install the helm chart