Initial commit

This commit is contained in:
Elmar Kresse
2025-06-17 15:56:56 +02:00
commit 85bcc8f88d
14 changed files with 469 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
{{- if .Values.ingress.enabled }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: overleaf-ingress
annotations:
kubernetes.io/ingress.class: "traefik"
cert-manager.io/cluster-issuer: "{{ .Values.ingress.certManagerIssuer }}"
# Traefik spezifisch: Enable HTTPS redirect (optional)
traefik.ingress.kubernetes.io/redirect-entry-point: websecure
spec:
tls:
- hosts:
- {{ .Values.ingress.host | quote }}
secretName: {{ .Values.ingress.tlsSecretName }}
rules:
- host: {{ .Values.ingress.host | quote }}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: overleaf
port:
number: 80
{{- end }}