chore(charts): fix prometheus annotations (#3841)
This commit is contained in:
@@ -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 */}}
|
||||
|
||||
Reference in New Issue
Block a user