Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
0c2f3f2e83
|
|||
|
418f813e80
|
@@ -13,7 +13,7 @@ spec:
|
|||||||
- homea2-api.hottis.de
|
- homea2-api.hottis.de
|
||||||
---
|
---
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
kind: TLSOptions
|
kind: TLSOption
|
||||||
metadata:
|
metadata:
|
||||||
name: mtls-required
|
name: mtls-required
|
||||||
spec:
|
spec:
|
||||||
@@ -33,11 +33,30 @@ spec:
|
|||||||
secretName: homea2-cert
|
secretName: homea2-cert
|
||||||
options:
|
options:
|
||||||
name: mtls-required
|
name: mtls-required
|
||||||
namespace: default
|
namespace: homea2
|
||||||
routes:
|
routes:
|
||||||
- match: Host(`homea2.hottis.de`)
|
- match: Host(`homea2.hottis.de`)
|
||||||
kind: Rule
|
kind: Rule
|
||||||
services:
|
services:
|
||||||
- name: ui
|
- name: ui
|
||||||
port: 80
|
port: 80
|
||||||
|
---
|
||||||
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
name: api
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- websecure
|
||||||
|
tls:
|
||||||
|
secretName: homea2-cert
|
||||||
|
options:
|
||||||
|
name: mtls-required
|
||||||
|
namespace: homea2
|
||||||
|
routes:
|
||||||
|
- match: Host(`homea2-api.hottis.de`)
|
||||||
|
kind: Rule
|
||||||
|
services:
|
||||||
|
- name: api
|
||||||
|
port: 80
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user