add-kubernetes

This commit is contained in:
James Turland
2024-07-08 11:19:54 +01:00
parent 0cd8339e6e
commit ef6ba4bd22
42 changed files with 1375 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: wg-easy
namespace: wg-easy
annotations:
kubernetes.io/ingress.class: traefik-external
spec:
entryPoints:
- websecure
routes:
- match: Host(`www.wg-easy.yourdomain.co.uk`)
kind: Rule
services:
- name: wg-easy-web
port: 51821
- match: Host(`wg-easy.yourdomain.co.uk`)
kind: Rule
services:
- name: wg-easy-web
port: 51821
middlewares:
- name: default-headers
tls:
secretName: yourdomain-tls