diff --git a/stable/prometheus-blackbox-exporter/Chart.yaml b/stable/prometheus-blackbox-exporter/Chart.yaml index cb0c4e5dff..2c51c9b8f9 100644 --- a/stable/prometheus-blackbox-exporter/Chart.yaml +++ b/stable/prometheus-blackbox-exporter/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Prometheus Blackbox Exporter name: prometheus-blackbox-exporter -version: 1.6.0 +version: 2.0.0 appVersion: 0.15.1 home: https://github.com/prometheus/blackbox_exporter sources: diff --git a/stable/prometheus-blackbox-exporter/README.md b/stable/prometheus-blackbox-exporter/README.md index f6f8afbb80..eba7201cf2 100644 --- a/stable/prometheus-blackbox-exporter/README.md +++ b/stable/prometheus-blackbox-exporter/README.md @@ -63,7 +63,7 @@ The following table lists the configurable parameters of the Blackbox-Exporter c | `tolerations` | node tolerations for pod assignment | `[]` | | `affinity` | node affinity for pod assignment | `{}` | | `podAnnotations` | annotations to add to each pod | `{}` | -| `podDisruptionBudget` | pod disruption budget | `{maxUnavailable: 0}` | +| `podDisruptionBudget` | pod disruption budget | `{}` | | `priorityClassName` | priority class name | None | | `resources` | pod resource requests & limits | `{}` | | `restartPolicy` | container restart policy | `Always` | @@ -99,6 +99,16 @@ $ helm install --name my-release -f values.yaml stable/prometheus-blackbox-expor ## Upgrading an existing Release to a new major version +### 2.0.0 + +This version removes the `podDisruptionBudget.enabled` parameter and changes the default value of `podDisruptionBudget` to `{}`, in order to fix Helm 3 compatibility. + +In order to upgrade, please remove `podDisruptionBudget.enabled` from your custom values.yaml file and set the content of `podDisruptionBudget`, for example: +```yaml +podDisruptionBudget: + maxUnavailable: 0 +``` + ### 1.0.0 This version introduce the new recommended labels. diff --git a/stable/prometheus-blackbox-exporter/templates/poddisruptionbudget.yaml b/stable/prometheus-blackbox-exporter/templates/poddisruptionbudget.yaml index 7bbde57d7f..d974c7094f 100644 --- a/stable/prometheus-blackbox-exporter/templates/poddisruptionbudget.yaml +++ b/stable/prometheus-blackbox-exporter/templates/poddisruptionbudget.yaml @@ -1,4 +1,4 @@ -{{- if .Values.podDisruptionBudget.enabled -}} +{{- if .Values.podDisruptionBudget -}} apiVersion: policy/v1beta1 kind: PodDisruptionBudget metadata: diff --git a/stable/prometheus-blackbox-exporter/values.yaml b/stable/prometheus-blackbox-exporter/values.yaml index 71d7a0112d..5469f07b80 100644 --- a/stable/prometheus-blackbox-exporter/values.yaml +++ b/stable/prometheus-blackbox-exporter/values.yaml @@ -1,8 +1,7 @@ restartPolicy: Always -podDisruptionBudget: - enabled: true - maxUnavailable: 0 +podDisruptionBudget: {} + # maxUnavailable: 0 strategy: rollingUpdate: