122 lines
2.8 KiB
YAML
122 lines
2.8 KiB
YAML
nameOverride: ""
|
|
fullnameOverride: ""
|
|
commonLabels: {}
|
|
commonAnnotations: {}
|
|
global:
|
|
imagePullSecrets:
|
|
- name: harbor-regcred
|
|
backend:
|
|
image:
|
|
repository: harbor.dvirlabs.com/my-apps/brand-master-backend
|
|
tag: master-282e279
|
|
pullPolicy: IfNotPresent
|
|
replicaCount: 1
|
|
resources:
|
|
limits:
|
|
cpu: 1000m
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 200m
|
|
memory: 256Mi
|
|
env:
|
|
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"
|
|
size: 15Gi
|
|
mountPath: /app/uploads
|
|
service:
|
|
type: ClusterIP
|
|
port: 8000
|
|
targetPort: 8000
|
|
healthCheck:
|
|
path: /health
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 30
|
|
ingress:
|
|
enabled: true
|
|
className: "traefik"
|
|
annotations:
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
|
hosts:
|
|
- host: api-brand-master.dvirlabs.com
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- secretName: api-brand-master-tls
|
|
hosts:
|
|
- api-brand-master.dvirlabs.com
|
|
frontend:
|
|
image:
|
|
repository: harbor.dvirlabs.com/my-apps/brand-master-frontend
|
|
tag: latest
|
|
pullPolicy: IfNotPresent
|
|
replicaCount: 1
|
|
resources:
|
|
limits:
|
|
cpu: 200m
|
|
memory: 256Mi
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
env:
|
|
VITE_API_URL: "https://api-brand-master.dvirlabs.com"
|
|
service:
|
|
type: ClusterIP
|
|
port: 80
|
|
targetPort: 80
|
|
healthCheck:
|
|
path: /
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 30
|
|
ingress:
|
|
enabled: true
|
|
className: "traefik"
|
|
annotations:
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
|
hosts:
|
|
- host: brand-master.dvirlabs.com
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- secretName: brand-master-tls
|
|
hosts:
|
|
- brand-master.dvirlabs.com
|
|
postgres:
|
|
name: db
|
|
image:
|
|
repository: harbor.dvirlabs.com/base-images/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
|