Skip to content

Commit 7407999

Browse files
committed
feat(ingress-example.yml): Add simple Ingress example
1 parent fa66667 commit 7407999

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

ingress-example.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
apiVersion: networking.k8s.io/v1
2+
kind: Ingress
3+
metadata:
4+
name: example
5+
annotations:
6+
cert-manager.io/cluster-issuer: letsencrypt
7+
spec:
8+
ingressClassName: nginx
9+
tls:
10+
- hosts:
11+
- example.k8s.sikademo.com
12+
secretName: example-tls
13+
rules:
14+
- host: example.k8s.sikademo.com
15+
http:
16+
paths:
17+
- path: /
18+
pathType: Prefix
19+
backend:
20+
service:
21+
name: example
22+
port:
23+
number: 80

0 commit comments

Comments
 (0)