hongbo-miao/hongbomiao.com

View on GitHub
kubernetes/argo-cd/applications/production-hm/akhq/kubernetes-manifests/hm-akhq-ingress.yaml

Summary

Maintainability
Test Coverage
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: hm-akhq-ingress
  namespace: production-hm-akhq
  annotations:
    kubernetes.io/ingress.class: traefik
    # https://doc.traefik.io/traefik/routing/providers/kubernetes-ingress/#on-ingress
    traefik.ingress.kubernetes.io/router.entrypoints: websecure
    traefik.ingress.kubernetes.io/router.tls: "true"
    # https://kubernetes-sigs.github.io/external-dns/latest/annotations/annotations
    external-dns.alpha.kubernetes.io/hostname: hm-akhq.internal.hongbomiao.com
    # https://argo-cd.readthedocs.io/en/stable/user-guide/resource_hooks
    argocd.argoproj.io/hook: PostSync
  labels:
    app.kubernetes.io/name: hm-akhq-ingress
    app.kubernetes.io/part-of: production-hm-akhq
spec:
  rules:
    - host: hm-akhq.internal.hongbomiao.com
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: hm-akhq
                port:
                  number: 80
  tls:
    - hosts:
        - hm-akhq.internal.hongbomiao.com
      secretName: production-hm-akhq-certificate