UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 43a3a3bb authored by Michael Martin's avatar Michael Martin
Browse files

Merge remote-tracking branch 'origin/tempo-query-cleanup' into update-tempo-tag-1.16.0-bb.1

parents 8c411e75 a3a46194
No related branches found
No related tags found
1 merge request!5654tempo update to 1.16.0-bb.1
Pipeline #3874932 passed
......@@ -187,31 +187,6 @@ chains:
{{- end }}
{{- end }}
{{- $tempoQueryEnabled := (dig "tempoQuery" "enabled" false .Values.tempo.values) }}
{{- if and $tempoQueryEnabled .Values.tempo.enabled .Values.tempo.sso.enabled }}
tempo:
match:
header: ":authority"
{{- $tempoHosts := (dig "istio" "tempoQuery" "hosts" dict .Values.tempo.values) }}
{{- if $tempoHosts }}
prefix: {{ tpl ($tempoHosts | first) $ }}
callback_uri: https://{{ tpl ($tempoHosts | first) $ }}/login
{{- else if .Values.jaeger.enabled }}
prefix: {{ printf "tempo.%s" $domainName }}
callback_uri: https://tempo.{{ $domainName }}/login
{{- else }}
prefix: {{ printf "tracing.%s" $domainName }}
callback_uri: https://tracing.{{ $domainName }}/login
{{- end }}
client_id: "{{ .Values.tempo.sso.client_id }}"
client_secret: "{{ .Values.tempo.sso.client_secret }}"
{{- if not $legacy }}
authorization_uri: {{ include "sso.oidc.auth" . }}
token_uri: {{ include "sso.oidc.token" . }}
logout_redirect_uri: {{ include "sso.oidc.endsession" . }}
{{- end }}
{{- end }}
{{- if and .Values.monitoring.enabled .Values.monitoring.sso.enabled }}
prometheus:
match:
......
......@@ -88,16 +88,9 @@ cr:
password: "secret:grafana-auth:password"
{{- end }}
tracing:
{{- $tempoQueryEnabled := (dig "tempoQuery" "enabled" false .Values.tempo.values) }}
enabled: {{ or (and .Values.tempo.enabled $tempoQueryEnabled) .Values.jaeger.enabled }}
{{- if and $tempoQueryEnabled (not .Values.jaeger.enabled) }}
in_cluster_url: "http://tempo-tempo.tempo.svc.cluster.local:16686"
{{- $tracingUrl := first (dig "istio" "tempoQuery" "hosts" list .Values.tempo.values) }}
url: https://{{ tpl ($tracingUrl | default (printf "%s.%s" "tracing" $domainName )) . }}
{{- else}}
enabled: {{ .Values.jaeger.enabled }}
{{- $tracingUrl := first (dig "istio" "jaeger" "hosts" list .Values.jaeger.values) }}
url: https://{{ tpl ($tracingUrl | default (printf "%s.%s" "tracing" $domainName )) . }}
{{- end }}
istio:
component_status:
components:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment