hongbo-miao/hongbomiao.com

View on GitHub
kubernetes/manifests/west/graphql-server-configmap.yaml

Summary

Maintainability
Test Coverage
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: graphql-server-configmap
  namespace: hm
  labels:
    app.kubernetes.io/name: graphql-server
data:
  # graphql-server
  app_env: "production"
  port: "31800"
  grpc_server_host: "grpc-server-service.hm.svc"
  grpc_server_port: "45237"
  opa_host: "localhost"
  opa_port: "8181"
  dgraph_host: "dgraph-dgraph-alpha.hm-dgraph.svc"
  dgraph_grpc_port: "9080"
  redis_host: "redis-headless.hm-redis.svc"
  redis_port: "6379"
  redis_db: "0"
  redis_password: "passw0rd"
  torch_serve_grpc_host: "torchserve-service.hm-cnn.svc"
  torch_serve_grpc_port: "7070"
  elastic_apm_service_name: "hm-graphql-server"
  open_census_agent_host: "collector.linkerd-jaeger.svc"
  open_census_agent_port: "55678"
  jwt_secret: "nnJakjEkfsPRmezBJRyyxkFUgPxUKeK8nmL3kuETVKgPkZkpUeGofioBbwuebd9X"
  minio_endpoint: "storage-tiny-hl.tenant-tiny.svc:9000"
  minio_access_key_id: "minio"
  minio_secret_access_key: "minio123"

  # opal-client
  opal_server_url: "http://opal-server-service.hm-opa.svc:7002"
  opal_fetch_provider_modules: "opal_common.fetcher.providers,opal_fetcher_postgres.provider"
  opal_should_report_on_data_updates: "true"
  opal_opa_health_check_policy_enabled: "true"
  opal_statistics_enabled: "true"
  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"