mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
33 lines
938 B
YAML
33 lines
938 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" # in case using issuers instead of a cluster-issuers
|
|
cert-manager.io/cluster-issuer: "letsencrypt-staging"
|
|
nginx.ingress.kubernetes.io/proxy-body-size: 10m
|
|
spec:
|
|
rules:
|
|
- host: develop-k8s.ocelot.social
|
|
http:
|
|
paths:
|
|
- backend:
|
|
serviceName: web
|
|
servicePort: 3000
|
|
path: /
|
|
# decommt if you have installed the mailservice
|
|
# - host: mail.ocelot.social
|
|
# http:
|
|
# paths:
|
|
# - backend:
|
|
# serviceName: mailserver
|
|
# servicePort: 80
|
|
# path: /
|
|
# decommt to activate SSL via port 443 if you have installed the certificate. probalby via the cert-manager
|
|
# tls:
|
|
# - hosts:
|
|
# - develop-k8s.ocelot.social
|
|
# secretName: tls
|