---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: tictactoe-ingress
  namespace: tictactoe
  annotations:
    kubernetes.io/ingress.class: "traefik"
    # traefik.frontend.rule.type: PathPrefixStrip
spec:
  rules:
  - http:
      paths:
      - path: /tictactoe
        pathType: Prefix
        backend:
          service:
            name: tictactoe-service
            port:
              number: 80
