Skip to content

Commit 98efe92

Browse files
committed
[ADD] catch-all route config
1 parent fc0826b commit 98efe92

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

charts/adhoc-defaultbackend/v0.1.8/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: El "backend predeterminado" es un servicio que maneja todas las rut
66

77
type: application
88

9-
version: 0.1.7
9+
version: 0.1.8
1010

1111
appVersion: "stable-alpine"
1212

charts/adhoc-defaultbackend/v0.1.8/templates/ingress.yaml

+3-6
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,18 @@ metadata:
1313
{{- include "adhoc-defaultbackend.labels" . | nindent 4 }}
1414
{{- with .Values.ingress.annotations }}
1515
annotations:
16+
nginx.ingress.kubernetes.io/rewrite-target: /$1
1617
{{- toYaml . | nindent 4 }}
1718
{{- end }}
1819
spec:
1920
rules:
2021
- http:
2122
paths:
22-
- path: /
23-
pathType: "Prefix"
23+
- path: /(.*)
24+
pathType: "ImplementationSpecific"
2425
backend:
25-
# serviceName: {{ include "adhoc-defaultbackend.fullname" . }}
26-
# servicePort: 80
2726
service:
2827
name: {{ include "adhoc-defaultbackend.fullname" . }}
2928
port:
3029
number: 80
31-
32-
3330
{{- end }}

0 commit comments

Comments
 (0)