add odoo ingress
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Tobias Brunner 2022-07-12 21:30:09 +02:00
parent fe486d5b3b
commit d1835b8f36
1 changed files with 24 additions and 0 deletions

24
odoo/ingress.yaml Normal file
View File

@ -0,0 +1,24 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
traefik.ingress.kubernetes.io/router.middlewares: kube-system-redirect-https@kubernetescrd
name: odoo
spec:
rules:
- host: odoo.tobru.ch
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: odoo
port:
number: 80
tls:
- hosts:
- odoo.tobru.ch
secretName: ingress-cert