Prepare for Kubernetes deployment

This commit is contained in:
2018-11-08 15:17:07 +01:00
parent e0ecde491c
commit 85f20c126c
4 changed files with 106 additions and 2 deletions
+16
View File
@@ -0,0 +1,16 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: unbound-site-ingress
annotations:
kubernetes.io/ingress.class: "nginx"
ingress.kubernetes.io/enable-cors: "true"
spec:
rules:
- host: "local-unbound.unbound.se"
http:
paths:
- path: /
backend:
serviceName: unbound-site
servicePort: 80