Skip to content

Commit b0f5bd2

Browse files
committed
support ingress
1 parent 7fb690d commit b0f5bd2

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apiVersion: networking.k8s.io/v1
2+
kind: Ingress
3+
metadata:
4+
name: {{ include "app.fullname" . }}-app-ingress
5+
labels:
6+
{{- include "app.labels" . | nindent 4 }}
7+
annotations:
8+
nginx.ingress.kubernetes.io/rewrite-target: /
9+
spec:
10+
rules:
11+
- http:
12+
paths:
13+
- backend:
14+
service:
15+
name: '{{ include "app.fullname" . }}-app-service'
16+
port:
17+
number: 8443
18+
path: /testpath
19+
pathType: Prefix

0 commit comments

Comments
 (0)