apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: static-sites-ingress
  annotations:
    kubernetes.io/ingress.class: "traefik"
    cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
  tls:
  - hosts:
    - cyberstar-home.airlabs.art
    secretName: cyberstar-home-tls
  rules:
  # --- cyberstar-home ---
  - host: cyberstar-home.airlabs.art
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: static-sites
            port:
              number: 80
  # --- 新增项目：复制上面的 rule，改 host 即可 ---
  # - host: xxx.airlabs.art
  #   http:
  #     paths:
  #     - path: /
  #       pathType: Prefix
  #       backend:
  #         service:
  #           name: static-sites
  #           port:
  #             number: 80
