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 kind: Ingress
metadata: metadata:
name: whoami-ingress name: whoami-ingress
annotations:
kubernetes.io/ingress.class: traefik
spec: spec:
rules: rules:
- host: whoami.k8s - host: whoami.k8s
http: http:
paths: paths:
- path: / - path: /
backend: pathType: Prefix
serviceName: whoami-service backend:
servicePort: http service:
name: whoami
port:
name: web