diff --git a/README.md b/README.md index 0aad8c9..c4bf952 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,8 @@ version of the chart must be in sync with the `values.yaml`. Newer *minor* versi versions can break something! ```bash -helm show values prometheus-exporters/prometheus-postgres-exporter --version 0.1.0 > values.yaml +CHART_VERSION=0.1.0 +helm show values prometheus-exporters/prometheus-postgres-exporter --version "${CHART_VERSION}" > values.yaml ``` A complete list of available helm chart versions can be displayed via the following command: @@ -193,7 +194,7 @@ deployment: | Name | Description | Value | | -------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | --------------------------------------- | | `deployment.annotations` | Additional deployment annotations. | `{}` | -| `deployment.labels` | Additional ingress labels. | `{}` | +| `deployment.labels` | Additional deployment labels. | `{}` | | `deployment.additionalContainers` | List of additional containers. | `[]` | | `deployment.affinity` | Affinity for the postgres-exporter deployment. | `{}` | | `deployment.initContainers` | List of additional init containers. | `[]` | diff --git a/renovate.json b/renovate.json index 2bf4fb3..16ede1e 100644 --- a/renovate.json +++ b/renovate.json @@ -11,20 +11,34 @@ "appVersion: \"(?.*?)\"\\s+" ], "datasourceTemplate": "docker", - "depNameTemplate": "prometheus-postgres-exporter", - "lookupNameTemplate": "quay.io/prometheuscommunity/postgres-exporter" + "depNameTemplate": "prometheuscommunity/postgres-exporter", + "packageNameTemplate": "quay.io/prometheuscommunity/postgres-exporter", + "versioningTemplate": "semver" + }, + { + "description": "Detect helm chart version in README", + "fileMatch": [ + "^README\\.md$" + ], + "matchStrings": [ + "^CHART_VERSION=(?.*?)$" + ], + "datasourceTemplate": "git-tags", + "depNameTemplate": "volker.raschek/prometheus-postgres-exporter", + "packageNameTemplate": "git.cryptic.systems/volker.raschek/prometheus-postgres-exporter", + "versioningTemplate": "semver" } ], "labels": [ "renovate" ], "packageRules": [ { - "addLabels": [ "renovate/droneci", "renovate/automerge" ], + "addLabels": [ "renovate/automerge", "renovate/droneci" ], "automerge": true, "matchManagers": "droneci", "matchUpdateTypes": [ "minor", "patch"] }, { - "addLabels": [ "renovate/markdownlint", "renovate/automerge" ], + "addLabels": [ "renovate/automerge", "renovate/npm" ], "automerge": true, "matchPackageNames": [ "markdownlint-cli", "@bitnami/readme-generator-for-helm" ], "matchManagers": [ "npm" ], diff --git a/values.yaml b/values.yaml index c4f7da4..4dad1c4 100644 --- a/values.yaml +++ b/values.yaml @@ -81,7 +81,7 @@ config: ## @section Deployment deployment: ## @param deployment.annotations Additional deployment annotations. - ## @param deployment.labels Additional ingress labels. + ## @param deployment.labels Additional deployment labels. annotations: {} labels: {}