apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: spire-ingress
  namespace: spire
spec:
  rules:
  # TODO: Replace MY_DISCOVERY_DOMAIN with the FQDN of the Discovery Provider that you will configure in DNS
  - host: MY_DISCOVERY_DOMAIN
    http:
      paths:
      - backend:
          service:
            name: spire-oidc
            port:
              number: 10443
        path: /.well-known/openid-configuration
        pathType: Prefix
      - backend:
          service:
            name: spire-oidc
            port:
              number: 10443
        path: /keys
        pathType: Prefix
