add compression middleware
All checks were successful
Check Kubernetes YAMLs / scan (push) Successful in 20s

This commit is contained in:
Lee 2024-09-28 08:28:31 +01:00
parent 92c45e7a01
commit dd866e241e
57 changed files with 202 additions and 0 deletions

View File

@ -15,6 +15,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: drone-service
port: 80

View File

@ -14,6 +14,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: searxng-service
port: 8080

View File

@ -14,6 +14,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: flyimg-service
port: 80

View File

@ -14,6 +14,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: capacitor
port: 9000

View File

@ -15,6 +15,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: notification-controller
port: 80

View File

@ -14,6 +14,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: kube-prometheus-stack-grafana
port: 80

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: aetheria-grafana-external
port: 3000

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: aetheria-influx-external
port: 8086

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: analytics-external
port: 8000

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: mc-utils-api-external
port: 80

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: azure-metrics-external
port: 3000

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: azure-phpma-external
port: 8080

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: bitmagnet-local-external
port: 3333

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: cdn-external
port: 8087

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: nextcloud-external
port: 80

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: docs-external
port: 80

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: main-site-external
port: 3000

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: git-external
port: 3003

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: sentry-external
port: 8000

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: mc-utils-grafana-external
port: 3000

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: mc-utils-influx-external
port: 8086

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: mastodon-external
port: 3000

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: mc-tracker-external
port: 3000

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: mc-utils-external
port: 80

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: node-hl-01-external
port: 443

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: obsidian-sync-external
port: 5984

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: overseerr-external
port: 5055

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: owntracks-web-external
port: 6969

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: owntracks-external
port: 8083

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: panel-external
port: 80

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: paste-grafana-local-external
port: 3035

View File

@ -0,0 +1,35 @@
kind: Service
apiVersion: v1
metadata:
name: paste-external
namespace: traefik
spec:
type: ExternalName
externalName: 10.0.50.118
ports:
- name: http
port: 8080
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: paste-external-ingress
namespace: traefik
annotations:
kubernetes.io/ingress.class: traefik-external
spec:
entryPoints:
- websecure
routes:
- match: Host(`paste.fascinated.cc`)
kind: Rule
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: paste-external
port: 8080
tls:
secretName: fascinated-cc

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: plex-external
port: 32400

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: proxmox-luna-local-external
port: 8006

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: repo-external
port: 8080

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: restic-backups-external
port: 8000

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: slash-external
port: 5231

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: sonarr-anime-local-external
port: 8988

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: sonarr-local-external
port: 8989

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: ssr-staging-external
port: 80

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: status-external
port: 3001

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: subscriptions-external
port: 8282

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: tautulli-external
port: 8181

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: tdarr-local-external
port: 8265

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: teleport-external
port: 3080

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: torrent-local-external
port: 8080

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: translate-external
port: 5000

View File

@ -0,0 +1,35 @@
kind: Service
apiVersion: v1
metadata:
name: trigger-external
namespace: traefik
spec:
type: ExternalName
externalName: 10.0.50.205
ports:
- name: http
port: 3040
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: trigger-external-ingress
namespace: traefik
annotations:
kubernetes.io/ingress.class: traefik-external
spec:
entryPoints:
- websecure
routes:
- match: Host(`trigger.fascinated.cc`)
kind: Rule
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: trigger-external
port: 3040
tls:
secretName: fascinated-cc

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: tube-external
port: 8209

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: vaultwarden-external
port: 4743

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: vencloud-external
port: 8080

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: wakatime-external
port: 3355

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: wazuh-external
port: 443

View File

@ -26,6 +26,8 @@ spec:
middlewares:
- name: default-headers
namespace: traefik
- name: compress
namespace: traefik
services:
- name: wiki-external
port: 80

View File

@ -9,5 +9,6 @@ resources:
- ./certificates/local-fascinated-cc.yaml
- ./certificates/mcutils-xyz.yaml
- ./middlewares/default-headers.yaml
- ./middlewares/compress.yaml
#- ./external-services
# for some stupid fucking reason kustomize doesn't support wildcards or globs?!?!?!??!?

View File

@ -0,0 +1,7 @@
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: compress
namespace: traefik
spec:
compress: {}

20
sealed-secrets.yaml Normal file
View File

@ -0,0 +1,20 @@
---
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
creationTimestamp: null
name: ssr-secret
namespace: public-services
spec:
encryptedData:
MONGO_URI: AgBDDZhuphvpFZJZq31CA8OmiTr1J8p5Fy/rcr/zvm2nl64GnpbmVCuYgUiH6PwZ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ddpJqKOqDz28zcrcu5RmusPxric+KF6Hcdy+ugqmq0KZl9VU2+D4z3QWkdokHk3WahdLneS4a3bHYC/NIpKyI5SveK6QAaQlU3NXrqKcof6VzDQG20bnCKGo+Y935LgzEIEmWKw2C9lwCV+/RUIjeaK2qzZpeMiZue9zgoq1dyNNjrar9B6zb+rSxcgnbqBolXUAVk1If3+egVNEaB9SjU22n+WoTA6HK1MOSwsaMtf1Tug/8nSQfFHdw1nZzBVtiVaFMtzmg0aKyrUpAYyz4XTn6xn9EhEKgcPSaWINf4zVcmceLOYenOP/y7S3cVx9KHBjUNGf/eDJVmXSiOzeguIJBfdEOla/lqv7Zx2/wvfHeEdurn5ENTkG2aQAekIvWiJ1HzPwrKKR6WcBpNTgjoDRMNxVoMcZ3QB9iJlp3AoLfJW72B2soTVeIikcNlT0Q0S91hiqvEcE+WuE5bDSttzhnb9nvEJXz6gC6AykCKH1VLIJJuiMI6R7V9z8fo7pFVXbQsM10VUph/9vxhib2XZ1c/25YMfj5vaI1+N7UiVDFlEfE2YJQMwd2vj+wTa3wHJz+2KXc/9rhBoaIpznN4LmKR6g==
template:
metadata:
creationTimestamp: null
name: ssr-secret
namespace: public-services
type: Opaque