Fixed stuff, using nginx, configured, uses good cert

This commit is contained in:
Aner Zakobar
2022-05-07 10:36:28 +03:00
parent de5d1f2541
commit 74c6ae9398
10 changed files with 26 additions and 28 deletions
+2 -3
View File
@@ -79,13 +79,12 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: gitea-ingress
annotations:
kubernetes.io/ingress.allow-http: "false"
traefik.ingress.kubernetes.io/router.middlewares: {{ .Release.Namespace }}-redirect@kubernetescrd
spec:
ingressClassName: {{ .Values.homey.ingress_class }}
tls:
- hosts:
- git.{{ .Values.homey.url }}
secretName: {{ .Values.homey.certname }}
rules:
- host: git.{{ .Values.homey.url }}
http:
+1 -2
View File
@@ -46,11 +46,10 @@ kind: Ingress
metadata:
name: jackett-ingress
annotations:
kubernetes.io/ingress.allow-http: "false"
ingress.kubernetes.io/auth-type: forward
ingress.kubernetes.io/auth-url: http://ldap-auth.{{ .Release.Namespace }}.svc.cluster.local:80
traefik.ingress.kubernetes.io/router.middlewares: {{ .Release.Namespace }}-redirect@kubernetescrd
spec:
ingressClassName: {{ .Values.homey.ingress_class }}
tls:
- hosts:
- jackett.{{ .Values.homey.internal_url }}
+1 -2
View File
@@ -86,9 +86,8 @@ kind: Ingress
metadata:
name: jellyfin-ingress
annotations:
kubernetes.io/ingress.allow-http: "false"
traefik.ingress.kubernetes.io/router.middlewares: {{ .Release.Namespace }}-redirect@kubernetescrd
spec:
ingressClassName: {{ .Values.homey.ingress_class }}
tls:
- hosts:
- jellyfin.{{ .Values.homey.internal_url }}
+4
View File
@@ -133,6 +133,10 @@ metadata:
name: nefarious-ingress
annotations:
spec:
ingressClassName: {{ .Values.homey.ingress_class }}
tls:
- hosts:
- nefarious.{{ .Values.homey.internal_url }}
rules:
- host: nefarious.{{ .Values.homey.internal_url }}
http:
+2 -2
View File
@@ -136,12 +136,12 @@ kind: Ingress
metadata:
name: nextcloud-ingress
annotations:
kubernetes.io/ingress.allow-http: "false"
traefik.ingress.kubernetes.io/router.middlewares: {{ .Release.Namespace }}-redirect@kubernetescrd
spec:
ingressClassName: {{ .Values.homey.ingress_class }}
tls:
- hosts:
- nextcloud.{{ .Values.homey.url }}
secretName: {{ .Values.homey.certname }}
rules:
- host: nextcloud.{{ .Values.homey.url }}
http:
+4 -6
View File
@@ -104,15 +104,13 @@ kind: Ingress
metadata:
name: photoprism-ingress
annotations:
kubernetes.io/ingress.allow-http: "false"
kubernete.io/ingress.classs: traefik
ingress.kubernetes.io/auth-type: forward
ingress.kubernetes.io/auth-url: http://ldap-auth.{{ .Release.Namespace }}.svc.cluster.local:80
traefik.ingress.kubernetes.io/frontend-entry-points: http
traefik.ingress.kubernetes.io/buffering: |
maxrequestbodybytes: 31457280
memrequestbodybytes: 62914560
spec:
ingressClassName: {{ .Values.homey.ingress_class }}
tls:
- hosts:
- album.{{ .Values.homey.internal_url }}
rules:
- host: album.{{ .Values.homey.internal_url }}
http:
+4 -2
View File
@@ -43,9 +43,11 @@ apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: phpldapadmin
annotations:
kubernetes.io/ingress.allow-http: "false"
spec:
ingressClassName: {{ .Values.homey.ingress_class }}
tls:
- hosts:
- ldapadmin.{{ .Values.homey.internal_url }}
rules:
- host: ldapadmin.{{ .Values.homey.internal_url }}
http:
-8
View File
@@ -1,8 +0,0 @@
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: redirect
spec:
redirectScheme:
scheme: https
permanent: true
+4 -1
View File
@@ -52,10 +52,13 @@ kind: Ingress
metadata:
name: transmission-ingress
annotations:
kubernetes.io/ingress.allow-http: "false"
ingress.kubernetes.io/auth-type: forward
ingress.kubernetes.io/auth-url: http://ldap-auth.{{ .Release.Namespace }}.svc.cluster.local:80
spec:
ingressClassName: {{ .Values.homey.ingress_class }}
tls:
- hosts:
- torrent.{{ .Values.homey.internal_url }}
rules:
- host: torrent.{{ .Values.homey.internal_url }}
http:
+2
View File
@@ -64,4 +64,6 @@ homey:
url: zakobar.com
internal_url: zakobar.home
ip: 192.168.1.2
certname: zakobarcert
ingress_class: nginx