I'm trying to define an entrypoint but the reflector gives me an unable to decode
error for the following:
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: test-jokebot
namespace: test
spec:
entryPoints:
rasa:
address: ":5005"
routes:
- match: Host(`host.com`) && PathPrefix(`/webhooks/rest/webook`)
kind: Rule
scheme: http
services:
- name: rasa
port: 5005
Here's the full error:
watch of *v1alpha1.IngressRoute ended with: an error on the server ("unable to decode an event from the watch stream: unable to decode watch event:
v1alpha1.IngressRoute.Spec:
v1alpha1.IngressRouteSpec.EntryPoints: []string: decode slice: expect [ or n, but found {, error found in #10 byte of ...|yPoints\":{\"rasa|..., bigger context ...|5-497d-97b7-e18a607541fe\"},\"spec\":{\"entryPoints\":{\"rasa\":{\"address\":\":5005\"}},\"routes\":[{\"kind\"|...") has prevented the request from succeeding