dynk8s: Fix Ingress routing

I guess I thought `defaultBackend` was scoped to the TLS host, but it
appears to be global, across all Ingress resources in the cluster.
Thus, it really doesn't make any sense for any Ingress to have a default
backend, and certainly not the dynk8s provisioner.
This commit is contained in:
2022-11-24 11:14:01 -06:00
parent 19ad5023b8
commit 61378e9724

View File

@@ -284,11 +284,17 @@ spec:
tls:
- hosts:
- dynk8s-provisioner.pyrocufflink.net
defaultBackend:
service:
name: dynk8s-provisioner
port:
number: 8000
rules:
- host: dynk8s-provisioner.pyrocufflink.net
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: dynk8s-provisioner
port:
name: http
---
apiVersion: v1