k8s-pages/helm-chart/templates/ingress.yaml
2025-02-19 09:51:47 -06:00

21 lines
508 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: nginx-reverse-proxy-ingress
namespace: {{ .Values.namespace }}
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
rules:
{{- range .Values.sites }}
- host: {{ .name }}.{{ .host }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: nginx-reverse-proxy
port:
number: 80
{{- end }}