Fix helm3 compatability

The prometheus-kube-state-metrics chart currently fails to lint
with helm3 due to an extra "-" character. This change removes
the extra dash character in order to allow us to link and build
the chart via helm v3.

Change-Id: Ice1661b8e52fb7e2293d8b03a19e8e7ad43078ca
This commit is contained in:
Gage Hugo 2021-09-08 10:58:06 -05:00
parent 6bc1f5a8b6
commit a55f3a5aa2
3 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,7 @@ apiVersion: v1
appVersion: v1.3.1 appVersion: v1.3.1
description: OpenStack-Helm Kube-State-Metrics for Prometheus description: OpenStack-Helm Kube-State-Metrics for Prometheus
name: prometheus-kube-state-metrics name: prometheus-kube-state-metrics
version: 0.1.4 version: 0.1.5
home: https://github.com/kubernetes/kube-state-metrics home: https://github.com/kubernetes/kube-state-metrics
sources: sources:
- https://github.com/kubernetes/kube-state-metrics - https://github.com/kubernetes/kube-state-metrics

View File

@ -90,7 +90,7 @@ spec:
ports: ports:
- name: metrics - name: metrics
containerPort: {{ tuple "kube_state_metrics" "internal" "http" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }} containerPort: {{ tuple "kube_state_metrics" "internal" "http" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
{{ dict "envAll" . "component" "server" "container" "kube_metrics" "type" "readiness" "probeTemplate" (include "kubeMetricsReadinessProbe" . | fromYaml) | include "helm-toolkit.snippets.kubernetes_probe" | indent 10 -}} {{ dict "envAll" . "component" "server" "container" "kube_metrics" "type" "readiness" "probeTemplate" (include "kubeMetricsReadinessProbe" . | fromYaml) | include "helm-toolkit.snippets.kubernetes_probe" | indent 10 }}
volumeMounts: volumeMounts:
- name: pod-tmp - name: pod-tmp
mountPath: /tmp mountPath: /tmp

View File

@ -5,4 +5,5 @@ prometheus-kube-state-metrics:
- 0.1.2 Update to make current - 0.1.2 Update to make current
- 0.1.3 Update image version from v2.0.0-alpha to v2.0.0-alpha-1 - 0.1.3 Update image version from v2.0.0-alpha to v2.0.0-alpha-1
- 0.1.4 Use full image ref for docker official images - 0.1.4 Use full image ref for docker official images
- 0.1.5 Fix helm3 compatability
... ...