From 477eed26bfb792befe0c4c1be36d42da62af40cf Mon Sep 17 00:00:00 2001 From: Gage Hugo Date: Tue, 22 Mar 2022 15:35:17 -0500 Subject: [PATCH] Fix indentation The prometheus-blackbox-exporter chart current fails to install with helm v3 due to an invalid indentation with metadata labels. This change fixes the indentation to the correct amount in order to successfully build and install when using helm v3. Change-Id: I95942fe49b39a052dd83060b597807f6a52627e4 --- prometheus-blackbox-exporter/Chart.yaml | 2 +- prometheus-blackbox-exporter/templates/deployment.yaml | 2 +- releasenotes/notes/prometheus-blackbox-exporter.yaml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/prometheus-blackbox-exporter/Chart.yaml b/prometheus-blackbox-exporter/Chart.yaml index e17a9e320..5acdd512c 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.3 +version: 0.1.4 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 cdf67ce6c..1845de073 100644 --- a/prometheus-blackbox-exporter/templates/deployment.yaml +++ b/prometheus-blackbox-exporter/templates/deployment.yaml @@ -20,7 +20,7 @@ metadata: annotations: {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: -{{ tuple $envAll "prometheus-blackbox-exporter" "exporter" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 2 }} +{{ tuple $envAll "prometheus-blackbox-exporter" "exporter" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: replicas: {{ .Values.pod.replicas.prometheus_blackbox_exporter }} selector: diff --git a/releasenotes/notes/prometheus-blackbox-exporter.yaml b/releasenotes/notes/prometheus-blackbox-exporter.yaml index ec9524048..d75df8569 100644 --- a/releasenotes/notes/prometheus-blackbox-exporter.yaml +++ b/releasenotes/notes/prometheus-blackbox-exporter.yaml @@ -4,4 +4,5 @@ prometheus-blackbox-exporter: - 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0" - 0.1.2 Rename image key name - 0.1.3 Update htk requirements + - 0.1.4 Fix indentation ...