Added https redirect traefik middleware
Some checks failed
Check with kubeconform / lint (push) Has been cancelled

This commit is contained in:
Ultradesu
2025-04-16 22:07:06 +03:00
parent 37721aafd5
commit 5fc2707f96
5 changed files with 12 additions and 38 deletions

View File

@ -0,0 +1,11 @@
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: https-redirect
namespace: kube-system
spec:
redirectScheme:
scheme: https
permanent: true

View File

@ -4,6 +4,7 @@ kind: Kustomization
resources:
- app.yaml
- external-secrets.yaml
- https-middleware.yaml
helmCharts:
- name: authentik

View File

@ -1,18 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: rancher
namespace: argocd
spec:
project: core
destination:
namespace: rancher
server: https://kubernetes.default.svc
source:
repoURL: ssh://git@gt.hexor.cy:30022/ab/homelab.git
targetRevision: HEAD
path: k8s/core/rancher
syncPolicy:
syncOptions:
- CreateNamespace=true

View File

@ -1,15 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- app.yaml
helmCharts:
- name: rancher
repo: https://releases.rancher.com/server-charts/stable
version: 2.10.3
releaseName: rancher
namespace: rancher
includeCRDs: true
valuesFile: values.yaml

View File

@ -1,5 +0,0 @@
ingress:
enabled: false
hostname: rancher.hexor.cy
replicas: 1