Compare commits

...

3 Commits

Author SHA1 Message Date
5e6e421466 fix probes
All checks were successful
Build and Publish / build-release (push) Successful in 42s
2026-04-23 16:51:11 -05:00
05bc272c26 Add common library loader template 2026-04-23 16:50:46 -05:00
39f97065db Update S3 configuration for production deployment 2026-04-23 16:47:57 -05:00
3 changed files with 27 additions and 15 deletions

View File

@@ -78,6 +78,7 @@
pkgs.uv pkgs.uv
pkgs.pyright pkgs.pyright
pkgs.file pkgs.file
pkgs.kubernetes-helm
]; ];
env = { env = {
UV_NO_SYNC = "1"; UV_NO_SYNC = "1";

View File

@@ -0,0 +1,4 @@
{{/*
Render all resources provided by the common library
*/}}
{{- include "bjw-s.common.loader.all" . -}}

View File

@@ -12,17 +12,17 @@ controllers:
LOG_LEVEL: info LOG_LEVEL: info
PORT: "8082" PORT: "8082"
S3_ENDPOINT: S3_ENDPOINT:
value: "http://minio:9000" value: "https://dev.s3.corredorconect.com/"
S3_ACCESS_KEY: S3_ACCESS_KEY:
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: '{{ include "bjw-s.common.lib.chart.names.fullname" $ }}-secrets' name: 'document-service-s3-credentials'
key: s3AccessKey key: rootAccessKey
S3_SECRET_KEY: S3_SECRET_KEY:
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: '{{ include "bjw.common.lib.chart.names.fullname $ }}-secrets' name: 'document-service-s3-credentials'
key: s3SecretKey key: rootSecretAccessKey
S3_BUCKET: S3_BUCKET:
value: "document-bucket" value: "document-bucket"
S3_REGION: S3_REGION:
@@ -35,7 +35,7 @@ controllers:
httpGet: httpGet:
path: /health path: /health
port: 8082 port: 8082
initialDelaySeconds: 10 initialDelaySeconds: 30
periodSeconds: 10 periodSeconds: 10
readiness: readiness:
enabled: true enabled: true
@@ -46,6 +46,13 @@ controllers:
port: 8082 port: 8082
initialDelaySeconds: 5 initialDelaySeconds: 5
periodSeconds: 5 periodSeconds: 5
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 512Mi
service: service:
main: main: