chore(charts): fix prometheus annotations (#3841)
This commit is contained in:
@@ -27,7 +27,7 @@ sources:
|
|||||||
- https://github.com/truecharts/charts/tree/master/charts/incubator/authentik
|
- https://github.com/truecharts/charts/tree/master/charts/incubator/authentik
|
||||||
- https://github.com/goauthentik/authentik
|
- https://github.com/goauthentik/authentik
|
||||||
- https://goauthentik.io/docs/
|
- https://goauthentik.io/docs/
|
||||||
version: 6.0.4
|
version: 6.0.5
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- authentication
|
- authentication
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
{{- if .Values.authentik.metrics.enabled -}}
|
{{- if .Values.authentik.metrics.enabled -}}
|
||||||
{{- $_ := set .Values.podAnnotations "prometheus.io/scrape" "true" -}}
|
{{- $_ := set .Values.podAnnotations "prometheus.io/scrape" "true" -}}
|
||||||
{{- $_ := set .Values.podAnnotations "prometheus.io/path" "/metrics" -}}
|
{{- $_ := set .Values.podAnnotations "prometheus.io/path" "/metrics" -}}
|
||||||
{{- $_ := set .Values.podAnnotations "prometheus.io/scrape" (.Values.service.metrics.ports.metrics.targetPort | default 9301 | quote) -}}
|
{{- $_ := set .Values.podAnnotations "prometheus.io/port" (.Values.service.metrics.ports.metrics.targetPort | default 9301 | quote) -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- if .Values.workerContainer.enabled -}}
|
{{- if .Values.workerContainer.enabled -}}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
name: restreamer
|
name: restreamer
|
||||||
version: 0.1.1
|
version: 0.1.2
|
||||||
appVersion: "2.2.0"
|
appVersion: "2.2.0"
|
||||||
description: "Allows smart free video streaming in real time."
|
description: "Allows smart free video streaming in real time."
|
||||||
type: application
|
type: application
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
{{- if .Values.restreamer.metrics.prometheus_enabled -}}
|
{{- if .Values.restreamer.metrics.prometheus_enabled -}}
|
||||||
{{- $_ := set .Values.podAnnotations "prometheus.io/scrape" "true" -}}
|
{{- $_ := set .Values.podAnnotations "prometheus.io/scrape" "true" -}}
|
||||||
{{- $_ := set .Values.podAnnotations "prometheus.io/path" "/metrics" -}}
|
{{- $_ := 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 -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{/* Render the templates */}}
|
{{/* Render the templates */}}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ sources:
|
|||||||
- https://github.com/traefik/traefik-helm-chart
|
- https://github.com/traefik/traefik-helm-chart
|
||||||
- https://traefik.io/
|
- https://traefik.io/
|
||||||
type: application
|
type: application
|
||||||
version: 13.3.8
|
version: 13.3.9
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- network
|
- network
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{{- if .Values.metrics.prometheus }}
|
{{- if .Values.metrics.prometheus }}
|
||||||
{{- $_ := set .Values.podAnnotations "prometheus.io/scrape" "true" -}}
|
{{- $_ := set .Values.podAnnotations "prometheus.io/scrape" "true" -}}
|
||||||
{{- $_ := set .Values.podAnnotations "prometheus.io/path" "/metrics" -}}
|
{{- $_ := set .Values.podAnnotations "prometheus.io/path" "/metrics" -}}
|
||||||
{{- $_ := set .Values.podAnnotations "prometheus.io/scrape" "9180" -}}
|
{{- $_ := set .Values.podAnnotations "prometheus.io/port" "9180" -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user