35 lines
658 B
YAML
35 lines
658 B
YAML
|
---
|
||
|
# cert
|
||
|
apiVersion: cert-manager.io/v1
|
||
|
kind: Certificate
|
||
|
metadata:
|
||
|
name: traefik.k8s.masked.name
|
||
|
namespace: traefik
|
||
|
spec:
|
||
|
dnsNames:
|
||
|
- traefik.k8s.masked.name
|
||
|
secretName: traefik.k8s.masked.name
|
||
|
issuerRef:
|
||
|
name: vault-issuer
|
||
|
kind: ClusterIssuer
|
||
|
...
|
||
|
---
|
||
|
# dashboard.yaml
|
||
|
apiVersion: traefik.containo.us/v1alpha1
|
||
|
kind: IngressRoute
|
||
|
metadata:
|
||
|
name: traefik-accessible-dashboard
|
||
|
namespace: traefik
|
||
|
spec:
|
||
|
entryPoints:
|
||
|
- websecure
|
||
|
routes:
|
||
|
- match: Host(`traefik.k8s.masked.name`)
|
||
|
kind: Rule
|
||
|
services:
|
||
|
- name: api@internal
|
||
|
kind: TraefikService
|
||
|
tls:
|
||
|
secretName: traefik.k8s.masked.name
|
||
|
...
|