Update my-recipes chart
This commit is contained in:
parent
566f49d050
commit
a71f0d6fc7
@ -41,9 +41,8 @@ frontend:
|
|||||||
port: 3000
|
port: 3000
|
||||||
targetPort: 3000
|
targetPort: 3000
|
||||||
|
|
||||||
env: {}
|
env:
|
||||||
# Uncomment and set API_BASE if needed:
|
API_BASE: "https://my-recipes.dvirlabs.com/api"
|
||||||
# API_BASE: "http://localhost:8000/api"
|
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
@ -94,7 +93,7 @@ ingress:
|
|||||||
nginx.ingress.kubernetes.io/rewrite-target: "/$2"
|
nginx.ingress.kubernetes.io/rewrite-target: "/$2"
|
||||||
nginx.ingress.kubernetes.io/use-regex: "true"
|
nginx.ingress.kubernetes.io/use-regex: "true"
|
||||||
hosts:
|
hosts:
|
||||||
- host: recipes.local
|
- host: my-recipes.dvirlabs.com
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
@ -106,5 +105,5 @@ ingress:
|
|||||||
tls:
|
tls:
|
||||||
- secretName: recipes-tls
|
- secretName: recipes-tls
|
||||||
hosts:
|
hosts:
|
||||||
- recipes.local
|
- my-recipes.dvirlabs.com
|
||||||
|
|
||||||
|
|||||||
@ -75,19 +75,20 @@ postgres:
|
|||||||
# Ingress (top-level, maps frontend/backend paths)
|
# Ingress (top-level, maps frontend/backend paths)
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
className: traefik
|
className: "nginx"
|
||||||
annotations:
|
annotations:
|
||||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
nginx.ingress.kubernetes.io/rewrite-target: "/$2"
|
||||||
cert-manager.io/cluster-issuer: null
|
nginx.ingress.kubernetes.io/use-regex: "true"
|
||||||
hosts:
|
hosts:
|
||||||
- host: my-recipes.dvirlabs.com
|
- host: my-recipes.dvirlabs.com
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend: frontend
|
backend: frontend
|
||||||
- path: /api
|
# use a regex to capture and rewrite /api/... to /... on the backend
|
||||||
pathType: Prefix
|
- path: /api(/|$)(.*)
|
||||||
|
pathType: ImplementationSpecific
|
||||||
backend: backend
|
backend: backend
|
||||||
tls:
|
tls:
|
||||||
- secretName: recipes-tls
|
- secretName: recipes-tls
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user