-
Notifications
You must be signed in to change notification settings - Fork 0
/
ingress-https.yml.old
36 lines (36 loc) · 983 Bytes
/
ingress-https.yml.old
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
30
31
32
33
34
35
36
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-https
namespace: default
annotations:
ingress.kubernetes.io/ssl-passthrough: "true"
ingressclass.kubernetes.io/is-default-class: "false"
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
nginx.ingress.kubernetes.io/proxy-ssl-verify: "false"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
ingressClassName: nginx
rules:
- host: ide.bayescluster.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: notebook
port:
number: 8000
# - host: manager.bayescluster.com
# http:
# paths:
# - path: /
# pathType: Prefix
# backend:
# service:
# name: kubernetes-dashboard
# port:
# number: 443