You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: charts/posthog/templates/ingress.yaml
+33Lines changed: 33 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -78,24 +78,57 @@ spec:
78
78
port:
79
79
number: {{ .Values.service.externalPort }}
80
80
{{- if (ne (include "ingress.type" .) "clb") }}
81
+
# Match any url with a prefix ending with a forward-slash. Previously
82
+
# we would match without the forward-slash. To ensure that we pick up
83
+
# with the forward-slash omitted we also match Exact. Note that we
84
+
# could use e.g. [ingress-nginx regex support](https://kubernetes.github.io/ingress-nginx/user-guide/ingress-path-matching/#regular-expression-support)
85
+
# but to keep this agnostic we use a combination of Prefix and Exact.
86
+
#
87
+
# NOTE: we still use a Prefix match on paths with a forward-slash,
88
+
# just in case there are cases that we have subpaths for these
89
+
# endpoints that still need to be passed to the `posthog-events` pods.
0 commit comments