-
Notifications
You must be signed in to change notification settings - Fork 3
/
ingress.yaml
29 lines (29 loc) · 1.04 KB
/
ingress.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: cjoc
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/app-root: "https://$best_http_host/cjoc/teams-check/"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
# Uncomment the next line if NGINX Ingress Controller is configured to do SSL offloading at load balancer level
# nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
# "413 Request Entity Too Large" uploading plugins, increase client_max_body_size
nginx.ingress.kubernetes.io/proxy-body-size: 50m
nginx.ingress.kubernetes.io/proxy-request-buffering: "off"
certmanager.k8s.io/cluster-issuer: "letsencrypt-prod"
certmanager.k8s.io/acme-challenge-type: http01
spec:
# SSL offloading at ingress resource level
tls:
- hosts:
- cloudbees.perficientdevops.com
secretName: cloudbees-core-letsencrypt-prod
rules:
- http:
paths:
- path: /cjoc
backend:
serviceName: cjoc
servicePort: 80
host: cloudbees.perficientdevops.com