From 351617f85cce279961254756c83ad5f6af31154b Mon Sep 17 00:00:00 2001 From: Alexander Trost Date: Mon, 12 Jun 2023 19:05:52 +0200 Subject: [PATCH] helm: update readme and tweak values for rgw secret (#43) --- charts/extended-ceph-exporter/Chart.yaml | 2 +- charts/extended-ceph-exporter/README.md | 3 ++- charts/extended-ceph-exporter/README.md.gotmpl | 2 +- charts/extended-ceph-exporter/templates/post-install-job.yaml | 2 +- charts/extended-ceph-exporter/values.yaml | 4 ++-- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/charts/extended-ceph-exporter/Chart.yaml b/charts/extended-ceph-exporter/Chart.yaml index 74b5d61..ae44c57 100644 --- a/charts/extended-ceph-exporter/Chart.yaml +++ b/charts/extended-ceph-exporter/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.2.7 +version: 1.2.8 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/extended-ceph-exporter/README.md b/charts/extended-ceph-exporter/README.md index 7976103..732c1ce 100644 --- a/charts/extended-ceph-exporter/README.md +++ b/charts/extended-ceph-exporter/README.md @@ -2,7 +2,7 @@ A Helm chart for deploying the extended-ceph-exporter to Kubernetes -![Version: 1.2.7](https://img.shields.io/badge/Version-1.2.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.0.2](https://img.shields.io/badge/AppVersion-v1.0.2-informational?style=flat-square) +![Version: 1.2.8](https://img.shields.io/badge/Version-1.2.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v1.0.2](https://img.shields.io/badge/AppVersion-v1.0.2-informational?style=flat-square) ## Get Repo Info @@ -28,6 +28,7 @@ _See [configuration](#configuration) below._ _See [helm install](https://helm.sh/docs/helm/helm_install/) for command documentation._ ### Development Build + To deploy from a local build from your development environment: ```console diff --git a/charts/extended-ceph-exporter/README.md.gotmpl b/charts/extended-ceph-exporter/README.md.gotmpl index aa6c52d..b192e01 100644 --- a/charts/extended-ceph-exporter/README.md.gotmpl +++ b/charts/extended-ceph-exporter/README.md.gotmpl @@ -26,8 +26,8 @@ _See [configuration](#configuration) below._ _See [helm install](https://helm.sh/docs/helm/helm_install/) for command documentation._ - ### Development Build + To deploy from a local build from your development environment: ```console diff --git a/charts/extended-ceph-exporter/templates/post-install-job.yaml b/charts/extended-ceph-exporter/templates/post-install-job.yaml index 74c38e7..dae183b 100644 --- a/charts/extended-ceph-exporter/templates/post-install-job.yaml +++ b/charts/extended-ceph-exporter/templates/post-install-job.yaml @@ -11,7 +11,7 @@ metadata: annotations: # This is what defines this resource as a hook. Without this line, the # job is considered part of the release. - "helm.sh/hook": post-install,pre-upgrade + "helm.sh/hook": "post-install,post-upgrade" "helm.sh/hook-weight": "-5" "helm.sh/hook-delete-policy": before-hook-creation spec: diff --git a/charts/extended-ceph-exporter/values.yaml b/charts/extended-ceph-exporter/values.yaml index 02438b5..0374421 100644 --- a/charts/extended-ceph-exporter/values.yaml +++ b/charts/extended-ceph-exporter/values.yaml @@ -116,10 +116,10 @@ config: host: "" # -- RGW admin access key # @default -- Randomly generated - accessKey: "" + accessKey: null # -- RGW admin secret key # @default -- Randomly generated - secretKey: "" + secretKey: null # -- Will be put in a Secret and used as env vars additionalEnv: {}