imfreedom/k8s-cluster
Clone
Summary
Browse
Changes
Graph
Add an https-redirect middleware for the namespace to use
2020-02-11, Gary Kramlich
9147514af29c
Parents
c6c741eb3df2
Children
789e7b3ecb0a
Add an https-redirect middleware for the namespace to use
1 files changed, 9 insertions(+), 1 deletions(-)
+9
-1
40-roost-middleware.yaml
--- a/40-roost-middleware.yaml Tue Feb 11 22:30:30 2020 -0600
+++ b/40-roost-middleware.yaml Tue Feb 11 23:25:46 2020 -0600
@@ -10,4 +10,12 @@
customResponseHeaders:
X-Frame-Options: SAMEORIGIN
---
-
+apiVersion: traefik.containo.us/v1alpha1
+kind: Middleware
+metadata:
+ name: https-redirect
+ namespace: roost
+spec:
+ redirectScheme:
+ scheme: https
+---