chart and ci tweaks

This commit is contained in:
Armando Diaz
2025-10-17 08:13:54 -05:00
parent c7ae399615
commit e08ab62a32
2 changed files with 10 additions and 22 deletions

View File

@@ -1,19 +1,7 @@
stages:
- test
- build
- deploy
# Test stage
test:
stage: test
allow_failure: true
image: containers.global.bsf.tools/node:20.11-alpine3.19
script:
- cd frontend
- npm config set registry https://deps.global.bsf.tools/artifactory/api/npm/registry.npmjs.org/
- npm config set strict-ssl false
- npm config fix
- npm install
build_container:
stage: build

View File

@@ -23,7 +23,7 @@ postgres:
storageClass: ""
resources:
requests:
memory: "256Mi"
memory: "512Mi"
cpu: "250m"
limits:
memory: "512Mi"
@@ -48,7 +48,7 @@ minio:
storageClass: ""
resources:
requests:
memory: "512Mi"
memory: "1Gi"
cpu: "250m"
limits:
memory: "1Gi"
@@ -75,7 +75,7 @@ app:
minioEndpoint: "warehouse13-minio:9000"
resources:
requests:
memory: "384Mi"
memory: "768Mi"
cpu: "350m"
limits:
memory: "768Mi"
@@ -96,20 +96,20 @@ app:
# Ingress
ingress:
enabled: false
enabled: true
className: "nginx"
annotations:
# cert-manager.io/cluster-issuer: "letsencrypt-prod"
cert-manager.io/cluster-issuer: "letsencrypt"
hosts:
- host: warehouse13.example.com
- host: warehouse13.common.global.bsf.tools
paths:
- path: /
pathType: Prefix
backend: app # All traffic goes to unified app (serves both API and frontend)
tls: []
# - secretName: warehouse13-tls
# hosts:
# - warehouse13.example.com
tls:
- secretName: warehouse13-tls
hosts:
- warehouse13.common.global.bsf.tools
# Service Account
serviceAccount: