apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: commuter
  namespace: ledgerhub
  labels:
    app: commuter
  annotations:
    nginx.ingress.kubernetes.io/auth-url: "https://$host/oauth2/auth"
    nginx.ingress.kubernetes.io/auth-signin: "https://$host/oauth2/start?rd=$escaped_request_uri"
spec:
  ingressClassName: nginx
  rules:
  - host: commuter.ledgerinvesting.dev
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: commuter-service
            port: 
              number: 80
