We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b614afa + c9675c4 commit c1b9579Copy full SHA for c1b9579
helm/aws-load-balancer-controller/templates/deployment.yaml
@@ -22,8 +22,10 @@ spec:
22
{{- toYaml .Values.podLabels | nindent 8 }}
23
{{- end }}
24
annotations:
25
+ {{- if not .Values.serviceMonitor.enabled }}
26
prometheus.io/scrape: "true"
27
prometheus.io/port: "{{ (split ":" .Values.metricsBindAddr)._1 | default 8080 }}"
28
+ {{- end}}
29
{{- if .Values.podAnnotations }}
30
{{- toYaml .Values.podAnnotations | nindent 8 }}
31
0 commit comments