mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-07 16:00:29 -05:00
Update 4 files
- /traefik/templates/middleware.yaml - /traefik/templates/ingress.yaml - /internalproxy/templates/argocd.yaml - /internalproxy/templates/unraid-ingress.yaml
This commit is contained in:
parent
04ad7a4881
commit
86d51bc50d
4 changed files with 20 additions and 21 deletions
|
|
@ -40,8 +40,6 @@ spec:
|
|||
- name: argocd-server
|
||||
port: 443
|
||||
scheme: https
|
||||
middlewares:
|
||||
- name: default-headers
|
||||
tls:
|
||||
secretName: argocd-tls
|
||||
---
|
||||
|
|
|
|||
|
|
@ -67,8 +67,6 @@ spec:
|
|||
services:
|
||||
- name: unraid
|
||||
port: 443
|
||||
scheme: https
|
||||
middlewares:
|
||||
- name: default-headers
|
||||
scheme: https
|
||||
tls:
|
||||
secretName: unraid-tls
|
||||
19
traefik/templates/ingress.yaml
Normal file
19
traefik/templates/ingress.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: traefik-ingress
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`traefik.internal.durp.info`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: api@internal
|
||||
kind: TraefikService
|
||||
middlewares:
|
||||
- name: default-headers
|
||||
tls:
|
||||
secretName: traefik-tls
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: default-headers
|
||||
namespace: internalproxy
|
||||
spec:
|
||||
headers:
|
||||
browserXssFilter: true
|
||||
contentTypeNosniff: true
|
||||
forceSTSHeader: true
|
||||
stsIncludeSubdomains: true
|
||||
stsPreload: true
|
||||
stsSeconds: 15552000
|
||||
customFrameOptionsValue: SAMEORIGIN
|
||||
customRequestHeaders:
|
||||
X-Forwarded-Proto: https
|
||||
Loading…
Add table
Add a link
Reference in a new issue