Initial commit of document-service
This commit is contained in:
78
ops/chart/values.yaml
Normal file
78
ops/chart/values.yaml
Normal file
@@ -0,0 +1,78 @@
|
||||
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: "http://minio:9000"
|
||||
S3_ACCESS_KEY:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: '{{ include "bjw-s.common.lib.chart.names.fullname" $ }}-secrets'
|
||||
key: s3AccessKey
|
||||
S3_SECRET_KEY:
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: '{{ include "bjw.common.lib.chart.names.fullname $ }}-secrets'
|
||||
key: s3SecretKey
|
||||
S3_BUCKET:
|
||||
value: "document-bucket"
|
||||
S3_REGION:
|
||||
value: "us-east-1"
|
||||
probes:
|
||||
liveness:
|
||||
enabled: true
|
||||
custom: true
|
||||
spec:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 8082
|
||||
initialDelaySeconds: 10
|
||||
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
|
||||
|
||||
external-secret:
|
||||
enabled: true
|
||||
apiVersion: external-secrets.io/v1
|
||||
kind: ExternalSecret
|
||||
suffix: secrets
|
||||
spec:
|
||||
spec:
|
||||
refreshInterval: 0s
|
||||
secretStoreRef:
|
||||
name: cluster-secrets-store
|
||||
kind: ClusterSecretStore
|
||||
target:
|
||||
name: '{{ include "bjw.common.lib.chart.names.fullname $ }}-secrets'
|
||||
creationPolicy: Owner
|
||||
dataFrom:
|
||||
- sourceRef:
|
||||
generatorRef:
|
||||
apiVersion: generators.external-secrets.io/v1alpha1
|
||||
kind: Password
|
||||
name: '{{ include "bjw.common.lib.chart.names.fullname $ }}-password-generator'
|
||||
Reference in New Issue
Block a user