Skip to content

Commit

Permalink
Revert "DM-48733: times-square - change path filtering for the templa…
Browse files Browse the repository at this point in the history
…ting ingress"

This reverts commit 801a55c.
  • Loading branch information
fajpunk committed Feb 6, 2025
1 parent b9f99ac commit 7187586
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion applications/times-square/templates/ingress-templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,22 @@ template:
name: "{{ template "times-square.fullname" . }}-templates"
{{- with .Values.ingress.annotations }}
annotations:
nginx.ingress.kubernetes.io/use-regex: "true"
{{- toYaml . | nindent 6 }}
{{- end }}
spec:
rules:
- host: {{ required "global.host must be set" .Values.global.host | quote }}
http:
paths:
- path: "{{- .Values.ingress.path -}}/v1/github/rendered/lsst-sqre/nublado-seeds/"
- path: "{{- .Values.ingress.path -}}/v1/pages/.*/rendered"
pathType: "ImplementationSpecific"
backend:
service:
name: {{ template "times-square.fullname" . }}
port:
number: {{ .Values.service.port }}
- path: "{{- .Values.ingress.path -}}/v1/github"
pathType: "Prefix"
backend:
service:
Expand Down

0 comments on commit 7187586

Please sign in to comment.