add https redirect
ci / build (push) Waiting to run Details

This commit is contained in:
CJ_Clippy 2024-06-29 18:04:25 -08:00
parent f0a2717b02
commit 0ea2161dd8
3 changed files with 15 additions and 1 deletions

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
name: fp name: fp
description: The Galaxy's Best VTuber Hentai Site description: The Galaxy's Best VTuber Hentai Site
version: 0.0.35 version: 0.0.36
keywords: keywords:
- fp - fp
- futureporn - futureporn

View File

@ -1,3 +1,5 @@
---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
@ -52,6 +54,7 @@ metadata:
traefik.ingress.kubernetes.io/router.entrypoints: websecure traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true" traefik.ingress.kubernetes.io/router.tls: "true"
cert-manager.io/cluster-issuer: "{{ .Values.certManager.issuer }}" cert-manager.io/cluster-issuer: "{{ .Values.certManager.issuer }}"
traefik.ingress.kubernetes.io/router.middlewares: redirect
spec: spec:
ingressClassName: traefik ingressClassName: traefik
rules: rules:

View File

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