21 lines
681 B
YAML
21 lines
681 B
YAML
ingress:
|
|
enabled: true
|
|
className: "nginx"
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
|
#nginx.ingress.kubernetes.io/rewrite-target: /
|
|
nginx.ingress.kubernetes.io/enable-cors: "true"
|
|
nginx.ingress.kubernetes.io/cors-allow-origin: "*"
|
|
nginx.ingress.kubernetes.io/cors-allow-methods: "GET, POST, PUT, DELETE, OPTIONS"
|
|
nginx.ingress.kubernetes.io/cors-allow-headers: "*"
|
|
nginx.ingress.kubernetes.io/cors-allow-credentials: "true"
|
|
tls: true
|
|
extraTls:
|
|
- hosts:
|
|
- api-osrm.<my-domain>
|
|
secretName: osrm-backend-tls
|
|
hosts:
|
|
- host: api-osrm.<my-domain>
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix |