2023-11-15 14:39:02 +00:00
|
|
|
{{- define "telemetry-values" }}
|
|
|
|
|
|
|
|
{{- if .Values.telemetry.jaeger }}
|
|
|
|
jaeger:
|
|
|
|
{{- with .Values.telemetry.jaeger }}
|
|
|
|
{{- toYaml . | nindent 2 }}
|
|
|
|
{{- end }}
|
2024-02-09 16:24:37 +00:00
|
|
|
|
|
|
|
collector:
|
|
|
|
serviceMonitor:
|
|
|
|
enabled: {{ .Values.metrics.enabled }}
|
|
|
|
query:
|
|
|
|
serviceMonitor:
|
|
|
|
enabled: {{ .Values.metrics.enabled }}
|
2023-11-15 14:39:02 +00:00
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{- if .Values.telemetry.opensearch }}
|
|
|
|
opensearch:
|
|
|
|
{{- if .Values.telemetry.opensearch.nodeSets }}
|
|
|
|
nodeSets:
|
2024-02-09 16:24:37 +00:00
|
|
|
{{- with .Values.telemetry.opensearch.nodeSets }}
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
2023-11-15 14:39:02 +00:00
|
|
|
{{- end }}
|
|
|
|
|
2024-02-09 16:24:37 +00:00
|
|
|
{{- if .Values.telemetry.opensearch.dashboard }}
|
|
|
|
dashboard:
|
|
|
|
{{- with .Values.telemetry.opensearch.dashboard }}
|
2023-11-15 14:39:02 +00:00
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
|
2024-04-15 13:25:01 +00:00
|
|
|
{{- with .Values.telemetry.opensearch.settings }}
|
|
|
|
settings:
|
|
|
|
{{- toYaml . | nindent 4 }}
|
|
|
|
{{- end }}
|
|
|
|
|
2024-02-09 16:24:37 +00:00
|
|
|
prometheus: {{ .Values.metrics.enabled }}
|
|
|
|
|
2023-11-15 14:39:02 +00:00
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
|
|
|
|
{{- define "telemetry-argo" }}
|
|
|
|
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
{{ include "kubezero-app.app" . }}
|