# Default values for dragon-graphql-i18n.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 3

serviceAccountName: tiller

postgres:
  enabled: true # postgres is required and enabled should be always set to true
  url: POSTGRES_URL_PLACEHOLDER

redis:
  enabled: true
  url: REDIS_URL_PLACEHOLDER

image:
  repository: registry.gitlab.com/skinholdings/i18n-graphql-es-server
  tag: v0.2.7
  pullPolicy: IfNotPresent
  env:
  - name: NODE_ENV
    value: development
  - name: SERVICE_PORT
    value: "5000"
  - name: SOCKET_CLOSE_TIMEOUT
    value: "30000"
  # Update translation records every 30 min
  - name: TRANSLATIONS_UPDATE_CRON
    value: "*/30 * * * *"
  - name: PHRASE_APP_ACCESS_TOKEN
    value: PHRASE_APP_ACCESS_TOKEN_PLACEHOLDER
  - name: PHRASEAPP_PROJECT_ID_DRAGON
    value: PHRASEAPP_PROJECT_ID_DRAGON_PLACEHOLDER

service:
  type: ClusterIP
  port: 5000

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: 256Mi
  requests:
   cpu: 100m
   memory: 128Mi

nodeSelector: {}

tolerations: []

affinity: {}
