---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations: 
    traefik.ingress.kubernetes.io/router.entrypoints: websecure,web
    traefik.ingress.kubernetes.io/router.pathmatcher: "/"
    traefik.ingress.kubernetes.io/router.tls: "true"
    traefik.ingress.kubernetes.io/service.serversscheme: https
    traefik.ingress.kubernetes.io/service.serverstransport: insecure-transport
  name: kibana
  namespace: kube-logging
spec:
  rules:
    - host: console.hypercloud.com
      http:
        paths:
          - backend:
              service:
                name: kibana
                port:
                  number: 5601
                  # name: https
            path: /api/kibana
            pathType: Prefix
  tls:
    - hosts:
        - console.hypercloud.com
      secretName: api-gateway-server-tls