rancher-charts/packages/rancher-kube-state-metrics/generated-changes/patch
Arvind Iyengar 00927521f0
(dev-v2.6-archive) Rebase to 086f1f7f0870e110abf30aa6bfe7c141e83cc950
(cherry picked from commit 383fb984af)

(partially cherry picked from commit 28f95b059f)
2022-01-06 11:34:25 -08:00
..
templates (dev-v2.6-archive) Rebase to 086f1f7f0870e110abf30aa6bfe7c141e83cc950 2022-01-06 11:34:25 -08:00
Chart.yaml.patch (dev-v2.6-archive) Rebase to 086f1f7f0870e110abf30aa6bfe7c141e83cc950 2022-01-06 11:34:25 -08:00
README.md.patch (dev-v2.6-archive) Rebase to 086f1f7f0870e110abf30aa6bfe7c141e83cc950 2022-01-06 11:34:25 -08:00
values.yaml.patch (dev-v2.6-archive) Rebase to 086f1f7f0870e110abf30aa6bfe7c141e83cc950 2022-01-06 11:34:25 -08:00

README.md.patch

--- charts-original/README.md
+++ charts/README.md
@@ -5,7 +5,7 @@
 ## Get Repo Info
 
 ```console
-helm repo add kube-state-metrics https://kubernetes.github.io/kube-state-metrics
+helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
 helm repo update
 ```
 
@@ -14,11 +14,7 @@
 ## Install Chart
 
 ```console
-# Helm 3
-$ helm install [RELEASE_NAME] kube-state-metrics/kube-state-metrics [flags]
-
-# Helm 2
-$ helm install --name [RELEASE_NAME] kube-state-metrics/kube-state-metrics [flags]
+helm install [RELEASE_NAME] prometheus-community/kube-state-metrics [flags]
 ```
 
 _See [configuration](#configuration) below._
@@ -28,11 +24,7 @@
 ## Uninstall Chart
 
 ```console
-# Helm 3
-$ helm uninstall [RELEASE_NAME]
-
-# Helm 2
-# helm delete --purge [RELEASE_NAME]
+helm uninstall [RELEASE_NAME]
 ```
 
 This removes all the Kubernetes components associated with the chart and deletes the release.
@@ -42,25 +34,35 @@
 ## Upgrading Chart
 
 ```console
-# Helm 3 or 2
-$ helm upgrade [RELEASE_NAME] kube-state-metrics/kube-state-metrics [flags]
+helm upgrade [RELEASE_NAME] prometheus-community/kube-state-metrics [flags]
 ```
 
 _See [helm upgrade](https://helm.sh/docs/helm/helm_upgrade/) for command documentation._
 
-### From stable/kube-state-metrics
+### Migrating from stable/kube-state-metrics and kubernetes/kube-state-metrics
 
 You can upgrade in-place:
 
 1. [get repo info](#get-repo-info)
 1. [upgrade](#upgrading-chart) your existing release name using the new chart repo
 
+
+## Upgrading to v3.0.0
+
+v3.0.0 includes kube-state-metrics v2.0, see the [changelog](https://github.com/kubernetes/kube-state-metrics/blob/release-2.0/CHANGELOG.md) for major changes on the application-side.
+
+The upgraded chart now the following changes:
+* Dropped support for helm v2 (helm v3 or later is required)
+* collectors key was renamed to resources
+* namespace key was renamed to namespaces
+
+
 ## Configuration
 
 See [Customizing the Chart Before Installing](https://helm.sh/docs/intro/using_helm/#customizing-the-chart-before-installing). To see all configurable options with detailed comments:
 
 ```console
-helm show values kube-state-metrics/kube-state-metrics
+helm show values prometheus-community/kube-state-metrics
 ```
 
-You may also `helm show values` on this chart's [dependencies](#dependencies) for additional options.
+You may also run `helm show values` on this chart's [dependencies](#dependencies) for additional options.