Files
document-service/ops/chart/values.yaml
HaimKortovich 036d2553be
Some checks failed
Build and Publish / build-release (push) Has been cancelled
fix names
2026-04-24 14:12:42 -05:00

82 lines
1.9 KiB
YAML

controllers:
main:
enabled: true
type: deployment
replicas: 1
containers:
main:
image:
repository: gitea.corredorconect.com/software-engineering/document-service
tag: '{{ $.Chart.AppVersion }}'
env:
LOG_LEVEL: info
PORT: "8082"
S3_ENDPOINT:
value: "https://dev.s3.corredorconect.com/"
S3_ACCESS_KEY_ID:
valueFrom:
secretKeyRef:
name: 'document-service-s3-credentials'
key: rootAccessKeyId
S3_SECRET_KEY:
valueFrom:
secretKeyRef:
name: 'document-service-s3-credentials'
key: rootSecretAccessKey
S3_BUCKET:
value: "document-bucket"
S3_REGION:
value: "us-east-1"
probes:
liveness:
enabled: true
custom: true
spec:
httpGet:
path: /health
port: 8082
initialDelaySeconds: 30
periodSeconds: 10
readiness:
enabled: true
custom: true
spec:
httpGet:
path: /health/ready
port: 8082
initialDelaySeconds: 5
periodSeconds: 5
service:
main:
controller: main
type: ClusterIP
ports:
http:
port: 8082
protocol: HTTP
rawResources:
bucket:
enabled: true
apiVersion: objectstorage.k8s.io/v1alpha1
kind: BucketClaim
suffix: bucket
spec:
spec:
bucketClassName: seaweedfs
protocols:
- s3
bucket-access:
enabled: true
apiVersion: objectstorage.k8s.io/v1alpha1
kind: BucketAccess
suffix: access
spec:
spec:
bucketAccessClassName: seaweedfs
bucketClaimName: '{{ include "bjw-s.common.lib.chart.names.fullname" $ }}-bucket'
protocol: s3