2025-12-05 11:47:17 +02:00

94 lines
1.8 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

global:
namespace: default
imagePullSecrets: []
# Backend configuration
backend:
name: backend
replicaCount: 1
image:
repository: harbor.dvirlabs.com/my-apps/my-recipes-backend
pullPolicy: IfNotPresent
tag: "master-35e1584"
service:
type: ClusterIP
port: 8000
targetPort: 8000
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
env:
PYTHONUNBUFFERED: "1"
# Frontend configuration
frontend:
name: frontend
replicaCount: 1
image:
repository: registry.dvirlabs.com/my-apps/my-recipes-frontend
pullPolicy: IfNotPresent
tag: "v1.0.0"
service:
type: ClusterIP
port: 3000
targetPort: 3000
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 200m
memory: 256Mi
# PostgreSQL configuration
postgres:
name: db
image:
repository: postgres
tag: "16"
pullPolicy: IfNotPresent
user: recipes_user
password: recipes_password # POC only later use Secret/ExternalSecret
database: recipes_db
port: 5432
service:
type: ClusterIP
port: 5432
targetPort: 5432
persistence:
enabled: true
accessMode: ReadWriteOnce
storageClass: "nfs-client"
size: 8Gi
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 1000m
memory: 1Gi
# Ingress (keep defaults in chart if you prefer not to expose)
ingress:
enabled: true
className: "nginx"
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
hosts:
- host: recipes.local
paths:
- path: /
pathType: Prefix
backend: frontend
- path: /api
pathType: Prefix
backend: backend
tls:
- secretName: recipes-tls
hosts:
- recipes.local