Fixed https-middleware and gitea. dropped authentik

This commit is contained in:
2026-06-01 13:08:07 +03:00
parent 4fe3101e1e
commit 0d0f12af77
4 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -4,11 +4,11 @@ kind: Ingress
metadata:
name: gitea-tls-ingress
annotations:
ingressClassName: traefik
cert-manager.io/cluster-issuer: letsencrypt
traefik.ingress.kubernetes.io/router.middlewares: kube-system-https-redirect@kubernetescrd
acme.cert-manager.io/http01-edit-in-place: "true"
spec:
ingressClassName: traefik
rules:
- host: gt.hexor.cy
http:
-1
View File
@@ -4,7 +4,6 @@ kind: Kustomization
resources:
- app.yaml
- external-secrets.yaml
- https-middleware.yaml
- outpost-selector-fix.yaml
# - worker-restart.yaml
@@ -0,0 +1,10 @@
---
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: https-redirect
namespace: kube-system
spec:
redirectScheme:
scheme: https
permanent: true
@@ -5,6 +5,7 @@ resources:
- app.yaml
- nfs-storage.yaml
- coredns-internal-resolve.yaml
- https-middleware.yaml
helmCharts:
- name: csi-driver-nfs