Files
lunarfront-charts/charts/lunarfront/templates/ingress.yaml

26 lines
675 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: lunarfront
namespace: {{ .Values.customer.name }}
annotations:
# Cloudflare proxies TLS to the browser — origin cert handles CF → cluster
nginx.ingress.kubernetes.io/ssl-redirect: "true"
spec:
ingressClassName: nginx
tls:
- hosts:
- {{ .Values.customer.domain }}
secretName: {{ .Values.cloudflare.originCertSecret }}
rules:
- host: {{ .Values.customer.domain }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: lunarfront
port:
number: 80