43 lines
869 B
YAML
43 lines
869 B
YAML
|
{{- define "telemetry-values" }}
|
||
|
|
||
|
{{- if .Values.telemetry.jaeger }}
|
||
|
jaeger:
|
||
|
{{- with .Values.telemetry.jaeger }}
|
||
|
{{- toYaml . | nindent 2 }}
|
||
|
{{- end }}
|
||
|
{{- end }}
|
||
|
|
||
|
{{- if .Values.telemetry.opensearch }}
|
||
|
opensearch:
|
||
|
{{- if .Values.telemetry.opensearch.nodeSets }}
|
||
|
nodeSets:
|
||
|
{{- with .Values.telemetry.opensearch.nodeSets }}
|
||
|
{{- toYaml . | nindent 2 }}
|
||
|
{{- end }}
|
||
|
{{- end }}
|
||
|
prometheus: {{ .Values.metrics.enabled }}
|
||
|
|
||
|
{{- if .Values.telemetry.opensearch.s3Snapshot }}
|
||
|
s3Snapshot:
|
||
|
{{- with .Values.telemetry.opensearch.s3Snapshot }}
|
||
|
{{- toYaml . | nindent 4 }}
|
||
|
{{- end }}
|
||
|
{{- end }}
|
||
|
{{- end }}
|
||
|
|
||
|
{{- if .Values.telemetry.dashboard }}
|
||
|
dashboard:
|
||
|
{{- with .Values.telemetry.dashboard }}
|
||
|
{{- toYaml . | nindent 2 }}
|
||
|
{{- end }}
|
||
|
{{- end }}
|
||
|
|
||
|
{{- end }}
|
||
|
|
||
|
|
||
|
{{- define "telemetry-argo" }}
|
||
|
|
||
|
{{- end }}
|
||
|
|
||
|
{{ include "kubezero-app.app" . }}
|