apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: voltha-ingress
  namespace: voltha
  annotations:
    kubernetes.io/ingress.class: "nginx"
    ingress.kubernetes.io/rewrite-target: /
spec:
  rules:
  - host: k8s-consul
    http:
      paths:
      - path: /
        backend:
          serviceName: consul
          servicePort: 8500
  - host: k8s-grafana
    http:
      paths:
      - path: /
        backend:
          serviceName: grafana
          servicePort: 8883
