Files
payouts/helm-chart/values.yaml

110 lines
2.4 KiB
YAML

# Default values for payouts chart
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
image:
repository: payouts
tag: latest
pullPolicy: IfNotPresent
service:
type: ClusterIP
port: 8080
ingress:
enabled: false
className: ""
hosts:
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
tls: []
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
nodeSelector: {}
tolerations: []
affinity: {}
# Server configuration
server:
port: ":8080"
writeTimeout: "35s"
readTimeout: "35s"
enablePProfEndpoints: false
# Database configuration
database:
type: ""
connection: ""
logLevel: "Info"
traceRequests: false
# Cache configuration
cache:
ttl: "24h"
# Logging configuration
log:
level: "DEBUG"
filePath: "./logs/payouts.log"
textOutput: false
stdoutEnabled: true
fileEnabled: false
fluentEnabled: false
# Metrics configuration
metrics:
endpoint: "/metrics"
histogramBuckets: "0.001,0.002,0.005,0.01,0.025,0.05,0.1,0.25,0.5,1,2.5,5,10"
http:
histogramEnabled: true
buckets: "0.001,0.002,0.005,0.01,0.025,0.05,0.1,0.25,0.5,1,2.5,5,10"
# YooKassa configuration
yookassa:
baseUrl: "https://api.yookassa.ru/v3"
timeout: "2s"
retry:
enabled: false
count: 3
waitTime: "200ms"
maxWaitTime: "5s"
test: false
checkAllowedCallbackAddress: true
allowedCallbackSubnets: "185.71.76.0/27,185.71.77.0/27,77.75.153.0/25,77.75.156.11/32,77.75.156.35/32,77.75.154.128/25,2a02:5180::/32"
apiBaseKey: ""
apiBaseSecret: ""
apiPaymentKey: ""
apiPaymentSecret: ""
callbackProcessTimeout: "1s"
# Secrets that should be stored in Kubernetes secrets
secrets:
# YooKassa API keys (these will be stored in Kubernetes secrets)
yookassa:
baseKey: ""
baseSecret: ""
paymentKey: ""
paymentSecret: ""