mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
Fixed prometheus annotations
This commit is contained in:
@@ -15,7 +15,6 @@ spec:
|
||||
{{- include "template.selectorLabels" . | nindent 6 }}
|
||||
template:
|
||||
metadata:
|
||||
{{- with .Values.podAnnotations }}
|
||||
annotations:
|
||||
{{- if $.Values.prometheus.enabled }}
|
||||
prometheus.io/scrape: "true"
|
||||
@@ -26,8 +25,9 @@ spec:
|
||||
{{- end }}
|
||||
prometheus.io/port: "{{ $.Values.application.actuatorPort }}"
|
||||
{{- end }}
|
||||
{{- with .Values.podAnnotations }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
labels:
|
||||
{{- include "template.selectorLabels" . | nindent 8 }}
|
||||
spec:
|
||||
|
||||
Reference in New Issue
Block a user