Update ingress.yaml

This commit is contained in:
Blendman974 committed 2023-06-22 07:30:46 +00:00
1 parent 6f950ed11c
commit 56d79110d5
1 file changed
+11 -10
+11 -10
View File
@@ -1,15 +1,16 @@
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: whoami-ingress
annotations:
kubernetes.io/ingress.class: traefik
spec:
rules:
- host: whoami.k8s
http:
paths:
- path: /
backend:
serviceName: whoami-service
servicePort: http
- host: whoami.k8s
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: whoami
port:
name: web