bullish/k8s/ingress-https.yaml
Ameya Shenoy f685b1a0fd
feat: deploy frontend
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2021-02-12 01:13:46 +05:30

27 lines
557 B
YAML

---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: production-https-ingress
namespace: production
annotations:
ingress.kubernetes.io/ssl-redirect: "true"
acme.cert-manager.io/http01-ingress-class: traefik
cert-manager.io/issuer: letsencrypt-production
spec:
rules:
- host: bullish.codingcoffee.me
http:
paths:
- backend:
serviceName: bullish-frontend
servicePort: 80
tls:
- hosts:
- bullish.codingcoffee.me
secretName: production-tls-cert
...