mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-12-03 22:04:32 +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
|
|
# <--
|