Skip to content

Commit

Permalink
🚑 Deactivated alternative urls
Browse files Browse the repository at this point in the history
  • Loading branch information
LNA-DEV committed Nov 23, 2024
1 parent 1e2b4d4 commit 14a34b3
Showing 1 changed file with 70 additions and 70 deletions.
140 changes: 70 additions & 70 deletions helm/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,75 +94,75 @@ spec:



{{- if .Values.production }}
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: fi-pv-redirection-ingress
namespace: {{ .Values.namespace }}
annotations:
cert-manager.io/cluster-issuer: letsencrypt
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.middlewares: {{ .Values.namespace }}-redirectschemefipv@kubernetescrd
spec:
tls:
- hosts:
- "xn--fachinformatiker-prfungsvorbereitung-w0d.de"
- "fi.lna-dev.net"
secretName: fi-pv-cert-fipv
rules:
- host: xn--fachinformatiker-prfungsvorbereitung-w0d.de
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: fi-pv-service
port:
number: 80
- host: fi.lna-dev.net
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: fi-pv-service
port:
number: 80
# {{- if .Values.production }}
# ---
# apiVersion: networking.k8s.io/v1
# kind: Ingress
# metadata:
# name: fi-pv-redirection-ingress
# namespace: {{ .Values.namespace }}
# annotations:
# cert-manager.io/cluster-issuer: letsencrypt
# traefik.ingress.kubernetes.io/router.entrypoints: websecure
# traefik.ingress.kubernetes.io/router.middlewares: {{ .Values.namespace }}-redirectschemefipv@kubernetescrd
# spec:
# tls:
# - hosts:
# - "xn--fachinformatiker-prfungsvorbereitung-w0d.de"
# - "fi.lna-dev.net"
# secretName: fi-pv-cert-fipv
# rules:
# - host: xn--fachinformatiker-prfungsvorbereitung-w0d.de
# http:
# paths:
# - path: /
# pathType: Prefix
# backend:
# service:
# name: fi-pv-service
# port:
# number: 80
# - host: fi.lna-dev.net
# http:
# paths:
# - path: /
# pathType: Prefix
# backend:
# service:
# name: fi-pv-service
# port:
# number: 80

---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: fi-pv-redirection-ingress-http
namespace: {{ .Values.namespace }}
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: web
traefik.ingress.kubernetes.io/router.middlewares: {{ .Values.namespace }}-redirectschemefipv@kubernetescrd
spec:
rules:
- host: xn--fachinformatiker-prfungsvorbereitung-w0d.de
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: fi-pv-service
port:
number: 80
- host: fi.lna-dev.net
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: fi-pv-service
port:
number: 80
# ---
# apiVersion: networking.k8s.io/v1
# kind: Ingress
# metadata:
# name: fi-pv-redirection-ingress-http
# namespace: {{ .Values.namespace }}
# annotations:
# traefik.ingress.kubernetes.io/router.entrypoints: web
# traefik.ingress.kubernetes.io/router.middlewares: {{ .Values.namespace }}-redirectschemefipv@kubernetescrd
# spec:
# rules:
# - host: xn--fachinformatiker-prfungsvorbereitung-w0d.de
# http:
# paths:
# - path: /
# pathType: Prefix
# backend:
# service:
# name: fi-pv-service
# port:
# number: 80
# - host: fi.lna-dev.net
# http:
# paths:
# - path: /
# pathType: Prefix
# backend:
# service:
# name: fi-pv-service
# port:
# number: 80

{{- end }}
# {{- end }}

0 comments on commit 14a34b3

Please sign in to comment.