Reapply "Merge branch 'development' into 'main'"

This reverts commit 5c81746cd5.
This commit is contained in:
Elmar Kresse
2025-08-29 10:58:13 +02:00
parent 310b71c928
commit f39348d205
13 changed files with 249 additions and 585 deletions

View File

@@ -0,0 +1,19 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Chart.Name }}-ipwhitelist
namespace: {{ .Release.Namespace }}
labels:
{{- include "htwkalender.labels" . | nindent 4 }}
annotations:
traefik.ingress.kubernetes.io/router.middlewares: "{{- printf "%s-%s@kubernetescrd" .Release.Namespace .Values.middlewares.httpsIPWhitelist.name }},traefik-https-redirect@kubernetescrd"
spec:
ingressClassName: "PLACEHOLDER"
tls:
- hosts:
{{- range .Values.ingress.httpsIPWhitelist.hosts }}
- {{ .host | quote }}
{{- end }}
secretName: {{ $.Chart.Name }}-cert
rules:
{{- toYaml .Values.ingress.httpsIPWhitelist.hosts | nindent 4 }}