From 38e9e187ddf56484dadcf669b61d064c0ebf0988 Mon Sep 17 00:00:00 2001 From: Radhika Pai Date: Wed, 24 Mar 2021 13:29:57 +0000 Subject: [PATCH] Change image key name for blackbox exporter This ps change the key name for the blackbox exporter so that it is consistent with the naming convention of other prometheus exporters. Co-authored-by: Chi Lo Change-Id: Ia190aa6730fab99d7fb14c53b538c72a1bc698ce --- prometheus-blackbox-exporter/Chart.yaml | 2 +- prometheus-blackbox-exporter/templates/deployment.yaml | 2 +- prometheus-blackbox-exporter/values.yaml | 2 +- releasenotes/notes/prometheus-blackbox-exporter.yaml | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/prometheus-blackbox-exporter/Chart.yaml b/prometheus-blackbox-exporter/Chart.yaml index 487318a79..f058fd268 100644 --- a/prometheus-blackbox-exporter/Chart.yaml +++ b/prometheus-blackbox-exporter/Chart.yaml @@ -14,7 +14,7 @@ apiVersion: v1 appVersion: v0.16.0 description: OpenStack-Helm blackbox exporter for Prometheus name: prometheus-blackbox-exporter -version: 0.1.1 +version: 0.1.2 home: https://github.com/prometheus/blackbox_exporter sources: - https://opendev.org/openstack/openstack-helm-infra diff --git a/prometheus-blackbox-exporter/templates/deployment.yaml b/prometheus-blackbox-exporter/templates/deployment.yaml index e63620992..cdf67ce6c 100644 --- a/prometheus-blackbox-exporter/templates/deployment.yaml +++ b/prometheus-blackbox-exporter/templates/deployment.yaml @@ -39,7 +39,7 @@ spec: {{ .Values.labels.blackbox_exporter.node_selector_key }}: {{ .Values.labels.blackbox_exporter.node_selector_value | quote }} containers: - name: blackbox-exporter -{{ tuple $envAll "prometheus_blackbox_exporter" | include "helm-toolkit.snippets.image" | indent 8 }} +{{ tuple $envAll "blackbox_exporter" | include "helm-toolkit.snippets.image" | indent 8 }} {{ tuple $envAll $envAll.Values.pod.resources.prometheus_blackbox_exporter | include "helm-toolkit.snippets.kubernetes_resources" | indent 8 }} {{ dict "envAll" $envAll "application" "prometheus_blackbox_exporter" "container" "blackbox_exporter" | include "helm-toolkit.snippets.kubernetes_container_security_context" | indent 8 }} args: diff --git a/prometheus-blackbox-exporter/values.yaml b/prometheus-blackbox-exporter/values.yaml index e0b6087cb..627aa4c10 100644 --- a/prometheus-blackbox-exporter/values.yaml +++ b/prometheus-blackbox-exporter/values.yaml @@ -17,7 +17,7 @@ images: tags: - prometheus_blackbox_exporter: docker.io/prom/blackbox-exporter:v0.16.0 + blackbox_exporter: docker.io/prom/blackbox-exporter:v0.16.0 pull_policy: IfNotPresent local_registry: active: false diff --git a/releasenotes/notes/prometheus-blackbox-exporter.yaml b/releasenotes/notes/prometheus-blackbox-exporter.yaml index b8efc38ce..93a0bc930 100644 --- a/releasenotes/notes/prometheus-blackbox-exporter.yaml +++ b/releasenotes/notes/prometheus-blackbox-exporter.yaml @@ -2,4 +2,5 @@ prometheus-blackbox-exporter: - 0.1.0 Initial Chart - 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0" + - 0.1.2 Rename image key name ...