Compare commits
3 Commits
64700cfd37
...
5e6e421466
| Author | SHA1 | Date | |
|---|---|---|---|
| 5e6e421466 | |||
| 05bc272c26 | |||
| 39f97065db |
@@ -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";
|
||||||
|
|||||||
4
ops/chart/templates/common.tpl
Normal file
4
ops/chart/templates/common.tpl
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
{{/*
|
||||||
|
Render all resources provided by the common library
|
||||||
|
*/}}
|
||||||
|
{{- include "bjw-s.common.loader.all" . -}}
|
||||||
@@ -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:
|
||||||
@@ -30,22 +30,29 @@ controllers:
|
|||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
enabled: true
|
enabled: true
|
||||||
custom: true
|
custom: true
|
||||||
spec:
|
spec:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /health
|
path: /health
|
||||||
port: 8082
|
port: 8082
|
||||||
initialDelaySeconds: 10
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
readiness:
|
readiness:
|
||||||
enabled: true
|
enabled: true
|
||||||
custom: true
|
custom: true
|
||||||
spec:
|
spec:
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /health/ready
|
path: /health/ready
|
||||||
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user