# ---
# apiVersion: extensions/v1beta1
# kind: Ingress
# metadata:
#   name: kuboard-v3-apisix
#   namespace: kuboard
#   annotations:
#     kubernetes.io/ingress.class: "apisix"
# spec:
#   rules:
#   - host: kuboard-apisix.local.com
#     http:
#       paths:
#       - backend:
#           serviceName: kuboard-v3
#           servicePort: 80
#         path: /
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    k8s.kuboard.cn/workload: kuboard-v3
    kubernetes.io/ingress.class: "apisix"
  labels:
    k8s.kuboard.cn/layer: 'monitor'
    k8s.kuboard.cn/name: kuboard-v3
  name: kuboard-v3-apisix
  namespace: kuboard
spec:
  rules:
  - host: kuboard-apisix.local.com
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: kuboard-v3
            port:
              number: 80
