add ingress
This commit is contained in:
parent
ca98778d28
commit
8050e7bb5f
21
infrastructure/kube-sphere/ingress.yml
Normal file
21
infrastructure/kube-sphere/ingress.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
apiVersion: traefik.io/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
name: kubesphere-external-ingress
|
||||||
|
namespace: kube-system
|
||||||
|
annotations:
|
||||||
|
kubernetes.io/ingress.class: traefik-external
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- websecure
|
||||||
|
routes:
|
||||||
|
- match: Host(`kubesphere.local.fascinated.cc`)
|
||||||
|
kind: Rule
|
||||||
|
middlewares:
|
||||||
|
- name: default-headers
|
||||||
|
namespace: traefik
|
||||||
|
services:
|
||||||
|
- name: ks-console
|
||||||
|
port: 80
|
||||||
|
tls:
|
||||||
|
secretName: fascinated-cc
|
@ -6,3 +6,4 @@ resources:
|
|||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
- config.yaml
|
- config.yaml
|
||||||
- installer.yaml
|
- installer.yaml
|
||||||
|
- ingress.yaml
|
||||||
|
Reference in New Issue
Block a user