forked from sogno-platform/example-deployments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathingress.yaml
29 lines (29 loc) · 929 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
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-v3
namespace: platone-wp5-balancer-dev-v3
annotations:
# cert-manager.io/cluster-issuer: letsencrypt-prod
# # type of authentication
# # nginx.ingress.kubernetes.io/auth-type: basic
# # name of the secret that contains the user/password definitions
# nginx.ingress.kubernetes.io/auth-secret: ingress-basic-auth
# # message to display with an appropriate context why the authentication is required
# # nginx.ingress.kubernetes.io/auth-realm: 'Authentication Required - this is a private API'
spec:
# tls:
# - hosts:
# - v3.wp5.platone-dsotp.k8s.eonerc.rwth-aachen.de
# secretName: letsencrypt-dsotp-api
rules:
- host: <hostname>
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: pymfm-api
port:
number: 8000