1 {{- if and .Values.prometheus.enabled .Values.prometheus.prometheusSpec.additionalScrapeConfigs }}
5 name: {{ template "prometheus-operator.fullname" . }}-prometheus-scrape-confg
7 app: {{ template "prometheus-operator.name" . }}-prometheus-scrape-confg
8 {{ include "prometheus-operator.labels" . | indent 4 }}
10 additional-scrape-configs.yaml: {{ toYaml .Values.prometheus.prometheusSpec.additionalScrapeConfigs | b64enc | quote }}