Skip to content

Commit

Permalink
redirect testing ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
parklize committed Jul 9, 2024
1 parent b7f1048 commit 0e63cff
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions server/charts/server/templates/ingress2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "app.fullname" . }}
annotations:
nginx.ingress.kubernetes.io/use-regex: "true"
nginx.ingress.kubernetes.io/rewrite-target: /ui
spec:
ingressClassName: nginx
rules:
- host: {{ .Values.ingressHostName }}
http:
paths:
- backend:
service:
name: {{ include "app.fullname" . }}
port:
number: 8080
path: /
pathType: Exact

0 comments on commit 0e63cff

Please sign in to comment.