Files
kubern-everything/Test-Deployment/nginx-ingress-route-gomplate.yaml
2025-12-29 18:33:46 +01:00

17 lines
318 B
YAML

apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: nginx-ingress-route
namespace: test
spec:
entryPoints:
- websecure
routes:
- match: Host(`nginx-test.{{.Env.EXTERNAL_DOMAIN}}`)
kind: Rule
services:
- name: nginx
port: 80
tls:
secretName: nginx-certificate-secret