21 lines
508 B
YAML
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 }}
|