Skip to content

Commit

Permalink
add ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Waye authored Jan 11, 2023
1 parent b5ebf64 commit d0d5feb
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions charts/posthog/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,20 @@ spec:
path: "/track"
backend: *INGESTION

{{- else }}

- pathType: Prefix
path: "/s/"
backend: *INGESTION
backend: &SESSION_RECORDINGS
service:
name: {{ template "posthog.fullname" . }}-session-recordings
port:
number: {{ .Values.service.externalPort }}
- pathType: Exact
path: "/s"
backend: *INGESTION
backend: *SESSION_RECORDINGS
backend:

{{- else }}
- pathType: ImplementationSpecific
path: "/capture/*"
backend: *INGESTION
Expand Down

0 comments on commit d0d5feb

Please sign in to comment.