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
This commit is contained in:
Gage Hugo 2022-03-22 15:35:17 -05:00
parent ec69dd0ef9
commit 477eed26bf
3 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@ apiVersion: v1
appVersion: v0.16.0 appVersion: v0.16.0
description: OpenStack-Helm blackbox exporter for Prometheus description: OpenStack-Helm blackbox exporter for Prometheus
name: prometheus-blackbox-exporter name: prometheus-blackbox-exporter
version: 0.1.3 version: 0.1.4
home: https://github.com/prometheus/blackbox_exporter home: https://github.com/prometheus/blackbox_exporter
sources: sources:
- https://opendev.org/openstack/openstack-helm-infra - https://opendev.org/openstack/openstack-helm-infra

View File

@ -20,7 +20,7 @@ metadata:
annotations: annotations:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
labels: 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: spec:
replicas: {{ .Values.pod.replicas.prometheus_blackbox_exporter }} replicas: {{ .Values.pod.replicas.prometheus_blackbox_exporter }}
selector: selector:

View File

@ -4,4 +4,5 @@ prometheus-blackbox-exporter:
- 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0" - 0.1.1 Change helm-toolkit dependency version to ">= 0.1.0"
- 0.1.2 Rename image key name - 0.1.2 Rename image key name
- 0.1.3 Update htk requirements - 0.1.3 Update htk requirements
- 0.1.4 Fix indentation
... ...