Skip to content

Commit

Permalink
fix ingress for pyroscope UI (#2807)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlex committed Dec 7, 2023
1 parent 9826831 commit d8f8194
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions operations/pyroscope/helm/pyroscope/templates/ingress.yaml
Expand Up @@ -23,6 +23,17 @@ spec:
- host: {{ . | quote }}
http:
paths:
- backend:
service:
{{- if gt (len $.Values.pyroscope.components) 1}}
name: {{ include "pyroscope.fullname" $ }}-query-frontend
{{- else }}
name: {{ include "pyroscope.fullname" $ }}
{{- end }}
port:
number: {{ $.Values.pyroscope.service.port }}
path: /
pathType: Prefix
- backend:
service:
{{- if gt (len $.Values.pyroscope.components) 1}}
Expand Down

0 comments on commit d8f8194

Please sign in to comment.