chore(charts): fix prometheus annotations (#3841)

This commit is contained in:
Stavros Kois
2022-09-22 10:04:43 +02:00
committed by GitHub
parent dea0e08738
commit 78641e0a77
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v2
kubeVersion: ">=1.16.0-0"
name: restreamer
version: 0.1.1
version: 0.1.2
appVersion: "2.2.0"
description: "Allows smart free video streaming in real time."
type: application
@@ -9,7 +9,7 @@
{{- if .Values.restreamer.metrics.prometheus_enabled -}}
{{- $_ := set .Values.podAnnotations "prometheus.io/scrape" "true" -}}
{{- $_ := set .Values.podAnnotations "prometheus.io/path" "/metrics" -}}
{{- $_ := set .Values.podAnnotations "prometheus.io/scrape" (.Values.service.main.ports.main.port | quote) -}}
{{- $_ := set .Values.podAnnotations "prometheus.io/port" (.Values.service.main.ports.main.port | quote) -}}
{{- end -}}
{{/* Render the templates */}}