argocd-test/nginx-testing/base/nginx-testing-ingress.yaml
2025-01-17 15:47:23 +01:00

28 lines
533 B
YAML

---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
name: m4n5.online-secret
spec:
secretName: m4n5.online-secret
issuerRef:
name: cloudflare-issuer
kind: ClusterIssuer
dnsNames:
- m4n5.online
- www.m4n5.online
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: nginx-testing-ingressroute
spec:
routes:
- match: Host(`m4n5.online`) || Host(`www.m4n5.online`)
kind: Rule
services:
- name: nginx-testing
port: web
tls:
secretName: m4n5.online-secret