apiVersion: v1
kind: ConfigMap
metadata:
  name: graphql-server-configmap
  namespace: hm
data:
  # graphql-server
  app_env: "production"
  port: "31800"
  grpc_server_host: "grpc-server-service.hm"
  grpc_server_port: "45237"
  opa_host: "localhost"
  opa_port: "8181"
  dgraph_host: "dgraph-alpha-public.hm-dgraph"
  dgraph_grpc_port: "9080"
  redis_host: "redis-leader-service.hm-redis"
  redis_port: "6379"
  redis_db: "0"
  torch_serve_grpc_host: "torchserve-service.hm-cnn"
  torch_serve_grpc_port: "7070"
  elastic_apm_service_name: "hm-graphql-server"
  open_census_agent_host: "collector.linkerd-jaeger"
  open_census_agent_port: "55678"
  jaeger_url: "http://collector.linkerd-jaeger:14268/api/traces"
  jwt_secret: "nnJakjEkfsPRmezBJRyyxkFUgPxUKeK8nmL3kuETVKgPkZkpUeGofioBbwuebd9X"
  minio_endpoint: "storage-tiny-hl.tenant-tiny:9000"
  minio_access_key_id: "minio"
  minio_secret_access_key: "minio123"

  # opal-client
  opal_server_url: "http://opal-server-service.hm-opa:7002"
  opal_fetch_provider_modules: "opal_common.fetcher.providers,opal_fetcher_postgres.provider"
  opal_inline_opa_config: '{"config_file":"/data/opa/config.yaml"}'
  opal_inline_opa_log_format: "full"
  opal_log_module_exclude_list: "[]"
  opal_log_colorize: "false"
