mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-15 19:43:53 +00:00
128 lines
2.6 KiB
YAML
128 lines
2.6 KiB
YAML
# Default values for bbgo.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
replicaCount: 1
|
|
|
|
image:
|
|
repository: yoanlin/bbgo
|
|
# pullPolicy: IfNotPresent
|
|
pullPolicy: Always
|
|
# Overrides the image tag whose default is the chart appVersion.
|
|
tag: ""
|
|
|
|
imagePullSecrets: []
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
# existingConfigMap is used for loading the existing configmap
|
|
# optional, if you have a configmap rather than the default configmap name
|
|
existingConfigMap:
|
|
|
|
# configmap could be a string pointing to the local file in the chart
|
|
# or a object with inlined bbgo yaml config
|
|
configmap:
|
|
|
|
# dotenv defines environment variables, which are loaded from a k8s secret.
|
|
# if not defined, then release name will be used to load the secret.
|
|
dotenv:
|
|
secret: null
|
|
|
|
serviceAccount:
|
|
# Specifies whether a service account should be created
|
|
create: true
|
|
# Annotations to add to the service account
|
|
annotations: {}
|
|
# The name of the service account to use.
|
|
# If not set and create is true, a name is generated using the fullname template
|
|
name: ""
|
|
|
|
additionalLabels: {}
|
|
|
|
deploymentAnnotations: {}
|
|
|
|
podAnnotations: {}
|
|
|
|
podSecurityContext: {}
|
|
# fsGroup: 2000
|
|
|
|
securityContext: {}
|
|
# capabilities:
|
|
# drop:
|
|
# - ALL
|
|
# readOnlyRootFilesystem: true
|
|
# runAsNonRoot: true
|
|
# runAsUser: 1000
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 8080
|
|
|
|
ingress:
|
|
enabled: false
|
|
annotations: {}
|
|
# kubernetes.io/ingress.class: nginx
|
|
# kubernetes.io/tls-acme: "true"
|
|
hosts:
|
|
- host: chart-example.local
|
|
paths: []
|
|
tls: []
|
|
# - secretName: chart-example-tls
|
|
# hosts:
|
|
# - chart-example.local
|
|
|
|
webserver:
|
|
enabled: false
|
|
|
|
metrics:
|
|
enabled: true
|
|
port: 9090
|
|
|
|
logFormatter:
|
|
enabled: true
|
|
format: json
|
|
|
|
grpc:
|
|
enabled: false
|
|
port: 50051
|
|
|
|
debug:
|
|
enabled: false
|
|
|
|
environment: dev
|
|
|
|
# this set ENABLE_RBT_ORDERBOOK env
|
|
rbTreeOrderbook:
|
|
enabled: false
|
|
|
|
sync:
|
|
enabled: false
|
|
schedule: "0 * * * *"
|
|
## since: sync from time
|
|
since: false
|
|
|
|
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: 512Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 64Mi
|
|
|
|
autoscaling:
|
|
enabled: false
|
|
minReplicas: 1
|
|
maxReplicas: 100
|
|
targetCPUUtilizationPercentage: 80
|
|
# targetMemoryUtilizationPercentage: 80
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|