apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: frontend 
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  rules:
  - host: keycloak
    http:
      paths:
      - backend:
          service:
            name: keycloak
            port: 
              number: 80
        path: / 
        pathType: ImplementationSpecific
  - host: localhost
    http:
      paths:
      - backend:
          service:
             name: fmtok8s-api-gateway
             port: 
               number: 80
        path: /
        pathType: Prefix
