Update my-recipes chart

This commit is contained in:
dvirlabs 2025-12-06 19:07:44 +02:00
parent 566f49d050
commit a71f0d6fc7
2 changed files with 11 additions and 11 deletions

View File

@ -41,9 +41,8 @@ frontend:
port: 3000
targetPort: 3000
env: {}
# Uncomment and set API_BASE if needed:
# API_BASE: "http://localhost:8000/api"
env:
API_BASE: "https://my-recipes.dvirlabs.com/api"
resources:
requests:
@ -94,7 +93,7 @@ ingress:
nginx.ingress.kubernetes.io/rewrite-target: "/$2"
nginx.ingress.kubernetes.io/use-regex: "true"
hosts:
- host: recipes.local
- host: my-recipes.dvirlabs.com
paths:
- path: /
pathType: Prefix
@ -106,5 +105,5 @@ ingress:
tls:
- secretName: recipes-tls
hosts:
- recipes.local
- my-recipes.dvirlabs.com

View File

@ -75,19 +75,20 @@ postgres:
# Ingress (top-level, maps frontend/backend paths)
ingress:
enabled: true
className: traefik
className: "nginx"
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
cert-manager.io/cluster-issuer: null
cert-manager.io/cluster-issuer: "letsencrypt-prod"
nginx.ingress.kubernetes.io/rewrite-target: "/$2"
nginx.ingress.kubernetes.io/use-regex: "true"
hosts:
- host: my-recipes.dvirlabs.com
paths:
- path: /
pathType: Prefix
backend: frontend
- path: /api
pathType: Prefix
# use a regex to capture and rewrite /api/... to /... on the backend
- path: /api(/|$)(.*)
pathType: ImplementationSpecific
backend: backend
tls:
- secretName: recipes-tls