Files

24 lines
564 B
YAML

{{- if .Values.ingress.enabled }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: overleaf-ingress
namespace: {{ .Release.Namespace }}
spec:
tls:
- hosts:
- {{ .Values.ingress.host | quote }}
secretName: {{ .Values.ingress.tlsSecretName }}
rules:
- host: {{ .Values.ingress.host | quote }}
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: overleaf
port:
number: 80
{{- end }}