mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender.git
synced 2026-01-18 04:22:27 +01:00
Revert "Merge branch 'development' into 'main'"
This reverts merge request !123
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
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 }}
|
||||
@@ -1,21 +0,0 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ .Chart.Name }}-redirect
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
{{- include "htwkalender.labels" . | nindent 4 }}
|
||||
{{- with .Values.ingress.httpsRedirect.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
ingressClassName: "PLACEHOLDER"
|
||||
tls:
|
||||
- hosts:
|
||||
{{- range .Values.ingress.httpsRedirect.hosts }}
|
||||
- {{ .host | quote }}
|
||||
{{- end }}
|
||||
secretName: {{ $.Chart.Name }}-cert
|
||||
rules:
|
||||
{{- toYaml .Values.ingress.httpsRedirect.hosts | nindent 4 }}
|
||||
@@ -1,21 +0,0 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ .Chart.Name }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
{{- include "htwkalender.labels" . | nindent 4 }}
|
||||
{{- with .Values.ingress.https.annotations }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
ingressClassName: "PLACEHOLDER"
|
||||
tls:
|
||||
- hosts:
|
||||
{{- range .Values.ingress.https.hosts }}
|
||||
- {{ .host | quote }}
|
||||
{{- end }}
|
||||
secretName: {{ $.Chart.Name }}-cert
|
||||
rules:
|
||||
{{- toYaml .Values.ingress.https.hosts | nindent 4 }}
|
||||
@@ -1,11 +0,0 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: {{ .Values.middlewares.httpsIPWhitelist.name }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
labels:
|
||||
{{- include "htwkalender.labels" . | nindent 4 }}
|
||||
spec:
|
||||
ipWhiteList:
|
||||
sourceRange:
|
||||
- 10.0.0.0/29
|
||||
Reference in New Issue
Block a user