Fix brand-master values.yaml - correct env format and add postgres config

This commit is contained in:
dvirlabs 2026-05-05 06:34:25 +03:00
parent 6f6650078b
commit e5ff5114d8

View File

@ -2,15 +2,17 @@ nameOverride: ""
fullnameOverride: ""
commonLabels: {}
commonAnnotations: {}
imagePullSecrets:
- name: harbor-regcred
global:
imagePullSecrets:
- name: harbor-regcred
backend:
image:
repository: harbor.dvirlabs.com/my-apps/brand-master-backend
tag: latest
pullPolicy: IfNotPresent
replicas: 1
replicaCount: 1
resources:
limits:
cpu: 1000m
@ -19,18 +21,12 @@ backend:
cpu: 200m
memory: 256Mi
env:
- name: PYTHONUNBUFFERED
value: "1"
- name: BACKEND_URL
value: "https://api-brand-master.dvirlabs.com"
- name: FRONTEND_URL
value: "https://brand-master.dvirlabs.com"
- name: JWT_SECRET_KEY
value: "your-secret-key-change-this-in-production"
- name: JWT_ALGORITHM
value: "HS256"
- name: JWT_EXPIRE_MINUTES
value: "30"
PYTHONUNBUFFERED: "1"
BACKEND_URL: "https://api-brand-master.dvirlabs.com"
FRONTEND_URL: "https://brand-master.dvirlabs.com"
jwtSecretKey: "your-secret-key-change-this-in-production"
jwtAlgorithm: "HS256"
jwtExpireMinutes: "30"
persistence:
enabled: true
storageClass: "nfs-client"
@ -65,7 +61,7 @@ frontend:
repository: harbor.dvirlabs.com/my-apps/brand-master-frontend
tag: latest
pullPolicy: IfNotPresent
replicas: 1
replicaCount: 1
resources:
limits:
cpu: 200m
@ -74,8 +70,7 @@ frontend:
cpu: 50m
memory: 64Mi
env:
- name: VITE_API_URL
value: "https://api-brand-master.dvirlabs.com"
VITE_API_URL: "https://api-brand-master.dvirlabs.com"
service:
type: ClusterIP
port: 80
@ -99,3 +94,30 @@ frontend:
- secretName: brand-master-tls
hosts:
- brand-master.dvirlabs.com
postgres:
name: db
image:
repository: harbor.dvirlabs.com/dockerhub/postgres
tag: "16-alpine"
pullPolicy: IfNotPresent
user: brand_master_user
password: brand_master_password
database: brand_master_db
port: 5432
service:
type: ClusterIP
port: 5432
targetPort: 5432
persistence:
enabled: true
accessMode: ReadWriteOnce
storageClass: "nfs-client"
size: 10Gi
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 1000m
memory: 1Gi