Fix brand-master values.yaml - correct env format and add postgres config
This commit is contained in:
parent
6f6650078b
commit
e5ff5114d8
@ -2,15 +2,17 @@ nameOverride: ""
|
|||||||
fullnameOverride: ""
|
fullnameOverride: ""
|
||||||
commonLabels: {}
|
commonLabels: {}
|
||||||
commonAnnotations: {}
|
commonAnnotations: {}
|
||||||
imagePullSecrets:
|
|
||||||
- name: harbor-regcred
|
global:
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: harbor-regcred
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
image:
|
image:
|
||||||
repository: harbor.dvirlabs.com/my-apps/brand-master-backend
|
repository: harbor.dvirlabs.com/my-apps/brand-master-backend
|
||||||
tag: latest
|
tag: latest
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
replicas: 1
|
replicaCount: 1
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 1000m
|
cpu: 1000m
|
||||||
@ -19,18 +21,12 @@ backend:
|
|||||||
cpu: 200m
|
cpu: 200m
|
||||||
memory: 256Mi
|
memory: 256Mi
|
||||||
env:
|
env:
|
||||||
- name: PYTHONUNBUFFERED
|
PYTHONUNBUFFERED: "1"
|
||||||
value: "1"
|
BACKEND_URL: "https://api-brand-master.dvirlabs.com"
|
||||||
- name: BACKEND_URL
|
FRONTEND_URL: "https://brand-master.dvirlabs.com"
|
||||||
value: "https://api-brand-master.dvirlabs.com"
|
jwtSecretKey: "your-secret-key-change-this-in-production"
|
||||||
- name: FRONTEND_URL
|
jwtAlgorithm: "HS256"
|
||||||
value: "https://brand-master.dvirlabs.com"
|
jwtExpireMinutes: "30"
|
||||||
- name: JWT_SECRET_KEY
|
|
||||||
value: "your-secret-key-change-this-in-production"
|
|
||||||
- name: JWT_ALGORITHM
|
|
||||||
value: "HS256"
|
|
||||||
- name: JWT_EXPIRE_MINUTES
|
|
||||||
value: "30"
|
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
storageClass: "nfs-client"
|
storageClass: "nfs-client"
|
||||||
@ -65,7 +61,7 @@ frontend:
|
|||||||
repository: harbor.dvirlabs.com/my-apps/brand-master-frontend
|
repository: harbor.dvirlabs.com/my-apps/brand-master-frontend
|
||||||
tag: latest
|
tag: latest
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
replicas: 1
|
replicaCount: 1
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
@ -74,8 +70,7 @@ frontend:
|
|||||||
cpu: 50m
|
cpu: 50m
|
||||||
memory: 64Mi
|
memory: 64Mi
|
||||||
env:
|
env:
|
||||||
- name: VITE_API_URL
|
VITE_API_URL: "https://api-brand-master.dvirlabs.com"
|
||||||
value: "https://api-brand-master.dvirlabs.com"
|
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
port: 80
|
port: 80
|
||||||
@ -99,3 +94,30 @@ frontend:
|
|||||||
- secretName: brand-master-tls
|
- secretName: brand-master-tls
|
||||||
hosts:
|
hosts:
|
||||||
- brand-master.dvirlabs.com
|
- 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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user