mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-28 19:23:22 +01:00
20 lines
512 B
Plaintext
20 lines
512 B
Plaintext
apiVersion: traefik.io/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: your-ingressroute # <-- Replace with your IngressRoute name
|
|
namespace: your-namespace # <-- Replace with your namespace
|
|
spec:
|
|
entryPoints:
|
|
- web
|
|
- websecure
|
|
routes:
|
|
- match: Host(`your-fqdn`) # <-- Replace with your FQDN
|
|
kind: Rule
|
|
services:
|
|
- name: your-service # <-- Replace with your service name
|
|
port: 80
|
|
# --> (Optional) Add certificate secret
|
|
# tls:
|
|
# secretName: your-certificate-secret
|
|
# <--
|