qy-html-project/k8s/ingress.yaml
zyc c1b814b0dc
All checks were successful
Deploy Static Sites / deploy (push) Successful in 7s
chore: cyberstar 域名改为 cyberstar-home
释放 cyberstar.airlabs.art 给其他项目使用。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 13:22:06 +08:00

36 lines
824 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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