Add iulse
parent
48aef790f0
commit
ae9005b312
@ -0,0 +1,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: kube-system
|
||||
metadata:
|
||||
name: iulse
|
||||
resources:
|
||||
- app/namespace.yaml
|
||||
- app/route.yaml
|
@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: iulse
|
||||
labels:
|
||||
name: iulse
|
@ -0,0 +1,25 @@
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: iulse-redirect
|
||||
namespace: iulse
|
||||
spec:
|
||||
redirectRegex:
|
||||
regex: ^http(s)?://(www\.)?iulse\.com/(.*)
|
||||
replacement: https://trivernis.net/${3}
|
||||
---
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: web
|
||||
namespace: iulse
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- match: Host(`iulse.com`, `www.iulse.com`)
|
||||
kind: Rule
|
||||
middlewares:
|
||||
- name: iulse-redirect
|
||||
- name: strict-security-headers
|
||||
namespace: default
|
Loading…
Reference in New Issue