apiVersion: traefik.io/v1alpha1 kind: IngressRoute metadata: name: hello spec: entryPoints: - websecure routes: - kind: Rule # To Create a route for your service, replace '' with your group's name. match: Host(`.sandbox.ansysapis.com`) && PathPrefix (`/hello`) services: - kind: Service name: hello # name of the Service we want to target. port: http # port of the Service we want to target. This is the same name as defined in svc.yaml middlewares: - name: oauth2-proxy-redirect tls: certResolver: myresolver