imfreedom/k8s-cluster

Add rehook.imfreedom.org

15 months ago, Gary Kramlich
7afc7575d513
Add rehook.imfreedom.org

This is an nginx container the proxy_pass's to keel for webhooks with anonymous
urls. This way we don't need to expose keel and everything is super fast
# This file contains common traefik middleware for the roost namespace.
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: common-headers
namespace: roost
spec:
headers:
customResponseHeaders:
X-Frame-Options: SAMEORIGIN
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: https-redirect
namespace: roost
spec:
redirectScheme:
scheme: https
permanent: true
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: hsts-headers
namespace: roost
spec:
headers:
stsSeconds: 31536000
---