This commit is contained in:
孙小云 2025-09-09 15:54:55 +08:00
parent 38e2d138f8
commit 798a79a3e4
3 changed files with 72 additions and 0 deletions

24
ingress/aweb-ingress.yaml Normal file
View File

@ -0,0 +1,24 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: aweb-ingress
namespace: default
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
traefik.ingress.kubernetes.io/router.tls: "true"
spec:
tls:
- hosts:
- a-ops.t-aaron.com
secretName: tls
rules:
- host: a-ops.t-aaron.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: aweb
port:
number: 80

24
ingress/bweb-ingress.yaml Normal file
View File

@ -0,0 +1,24 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: bweb-ingress
namespace: default
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
traefik.ingress.kubernetes.io/router.tls: "true"
spec:
tls:
- hosts:
- b-ops.t-aaron.com
secretName: tls
rules:
- host: b-ops.t-aaron.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: bweb
port:
number: 80

24
ingress/oidc-ingress.yaml Normal file
View File

@ -0,0 +1,24 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: oidc-ingress
namespace: default
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
traefik.ingress.kubernetes.io/router.tls: "true"
spec:
tls:
- hosts:
- oidc-ops.t-aaron.com
secretName: tls
rules:
- host: oidc-ops.t-aaron.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: oidc
port:
number: 8080