mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2025-08-07 12:19:14 +02:00
20 lines
687 B
YAML
20 lines
687 B
YAML
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 }}
|