Files
devops-infra-helm-charts-gcp/helm-templates/sonarqube-old/templates/prometheus-ce-config.yaml
T
2026-08-26 03:39:42 +05:30

14 lines
498 B
YAML

{{- if .Values.prometheusExporter.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "sonarqube.fullname" . }}-prometheus-ce-config
labels:
app: {{ template "sonarqube.name" . }}
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
data:
prometheus-ce-config.yaml: |-
{{ .Values.prometheusExporter.ceConfig | default .Values.prometheusExporter.config | toYaml | indent 8 }}
{{- end }}