50 lines
991 B
YAML
50 lines
991 B
YAML
{{- define "telemetry-values" }}
|
|
|
|
{{- if .Values.telemetry.jaeger }}
|
|
jaeger:
|
|
{{- with .Values.telemetry.jaeger }}
|
|
{{- toYaml . | nindent 2 }}
|
|
{{- end }}
|
|
|
|
collector:
|
|
serviceMonitor:
|
|
enabled: {{ .Values.metrics.enabled }}
|
|
query:
|
|
serviceMonitor:
|
|
enabled: {{ .Values.metrics.enabled }}
|
|
{{- end }}
|
|
|
|
{{- if .Values.telemetry.opensearch }}
|
|
opensearch:
|
|
{{- if .Values.telemetry.opensearch.nodeSets }}
|
|
nodeSets:
|
|
{{- with .Values.telemetry.opensearch.nodeSets }}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
|
|
{{- if .Values.telemetry.opensearch.dashboard }}
|
|
dashboard:
|
|
{{- with .Values.telemetry.opensearch.dashboard }}
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
|
|
{{- with .Values.telemetry.opensearch.settings }}
|
|
settings:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
|
|
prometheus: {{ .Values.metrics.enabled }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
|
|
|
|
|
{{- define "telemetry-argo" }}
|
|
|
|
{{- end }}
|
|
|
|
{{ include "kubezero-app.app" . }}
|