-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathingress.yaml
44 lines (44 loc) · 1019 Bytes
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
labels:
name: ingress-nginx
namespace: my-app
name: ingress-nginx
spec:
rules:
- host: app.3c5ee835-9f88-4152-8619-04857b82d43b.nodes.k8s.fr-par.scw.cloud
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: nginx
port:
number: 80
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
labels:
name: ingress-ldap
namespace: my-app
name: ingress-ldap
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/secure-backends: "true"
spec:
rules:
- host: ldap.3c5ee835-9f88-4152-8619-04857b82d43b.nodes.k8s.fr-par.scw.cloud
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: phpldapadmin
port:
number: 8080