All checks were successful
Build and Publish / build-release (push) Successful in 46s
83 lines
2.0 KiB
YAML
83 lines
2.0 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: bucket-access
|
|
spec:
|
|
spec:
|
|
bucketAccessClassName: seaweedfs
|
|
bucketClaimName: '{{ include "bjw-s.common.lib.chart.names.fullname" $ }}-bucket'
|
|
credentialsSecretName: document-service-s3-credentials
|
|
protocol: s3
|
|
|