mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
31 lines
705 B
YAML
31 lines
705 B
YAML
apiVersion: extensions/v1beta1
|
|
kind: Ingress
|
|
metadata:
|
|
name: ingress
|
|
namespace: ocelot-social
|
|
annotations:
|
|
kubernetes.io/ingress.class: "nginx"
|
|
cert-manager.io/issuer: "letsencrypt-staging"
|
|
# DEPRECATED certmanager.k8s.io/acme-challenge-type: http01
|
|
nginx.ingress.kubernetes.io/proxy-body-size: 6m
|
|
spec:
|
|
rules:
|
|
- host: develop-k8s.ocelot.social
|
|
http:
|
|
paths:
|
|
- backend:
|
|
serviceName: web
|
|
servicePort: 3000
|
|
path: /
|
|
- host: mail.ocelot.social
|
|
http:
|
|
paths:
|
|
- backend:
|
|
serviceName: mailserver
|
|
servicePort: 80
|
|
path: /
|
|
tls:
|
|
- hosts:
|
|
- develop-k8s.ocelot.social
|
|
secretName: tls
|