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

domainName: sandbox.drakemall.me

serviceAccountName: tiller

service:
  type: ClusterIP
  port: 5000

graphqlUrl: "http://sandbox.drakemall.me/graphql"

global:
  dragon-graphql-gateway:
    enabled: false

redis:
  enabled: true
  url: "redis://:a7ZxsqbXZuqR@35.197.200.247:6379/0"

postgres: &postgres
    enabled: true # postgres is required and enabled should be always set to true
    url: "postgres://i18n:ShaelaeS3ohGh7ueGhaej@35.246.144.205/i18n"

frontend:
  replicaCount: 3
  image:
    repository: "registry.gitlab.com/skinholdings/dragon-universal"
    tag: v2.2.1-dev
    env:
    - name: AUTH_URL
      value: https://dev.drakemall.com/auth/{0}
    - name: FOO
      value: bar

dragon-graphql-gateway:
  enabled: true

  domainName: sandbox.drakemall.me
  siteDomainName: sandbox.drakemall.me

  drakemall:
    domainName: "dev.drakemall.com"
    apiAddr: "http://master-drakemall/api"

  dragon-graphql-i18n:
    enabled: true

    postgres:
      <<: *postgres
  
  serviceAccountName: tiller

  graphql_gateway:
    replicaCount: 3
    image:
      tag: stable

  graphql_adapter:
    replicaCount: 3
    image:  
      tag: stable

  ingress:
    enabled: true
    annotations:
      kubernetes.io/ingress.class: traefik
    path: /graphql
    hosts:
      - sandbox.drakemall.me


ingress:
  enabled: true
  annotations:
    kubernetes.io/ingress.class: traefik
  hosts:
    - sandbox.drakemall.me

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: 150m
   memory: 200Mi
   
  requests:
   cpu: 10m
   memory: 64Mi

nodeSelector: {}

tolerations: []

affinity: {}