global:
  # cluster variables
  CLUSTER_ID: cloudmoa

  # default storageClass
  DEFAULT_STORAGE_CLASS: exem-local-storage

  # nodeAffinity
  affinity_key: cmoa
  affinity_value1: worker1
  affinity_value2: worker2
  affinity_value3: worker2

  # postgres variables
  IMXC_POSTGRES_PV_PATH: /media/data/postgres/postgres-data-0

  #elastic variables
  ELASTICSEARCH_PATH1: /media/data/elasticsearch/elasticsearch-data-0
  ELASTICSEARCH_PATH2: /media/data/elasticsearch/elasticsearch-data-1

  CMOA_ES_ID: elastic
  CMOA_ES_PW: elastic

  # zookeeper variables
  IMXC_ZOOKEEPER_PATH1: /media/data/zookeeper/zookeeper-data-0
  IMXC_ZOOKEEPER_PATH2: /media/data/zookeeper/zookeeper-data-1
  IMXC_ZOOKEEPER_PATH3: /media/data/zookeeper/zookeeper-data-2

  # kafka variables
  IMXC_KAFKA_PV_PATH1: /media/data/kafka/kafka-data-0
  IMXC_KAFKA_PV_PATH2: /media/data/kafka/kafka-data-1
  IMXC_KAFKA_PV_PATH3: /media/data/kafka/kafka-data-2
  KAFKA_BROKER_CONFIG: "{{index .metadata.labels \"failure-domain.beta.kubernetes.io/zone\"}}"

  # cortex variables
  IMXC_INGESTER_PV_PATH1: /media/cloudmoa/ingester/ingester-data-1
  IMXC_INGESTER_PV_PATH2: /media/cloudmoa/ingester/ingester-data-2
  IMXC_INGESTER_PV_PATH3: /media/cloudmoa/ingester/ingester-data-3

  # redis variables
  IMXC_REDIS_PV_PATH1: /media/data/redis/redis-data-0
  IMXC_REDIS_PV_PATH2: /media/data/redis/redis-data-1
  IMXC_REDIS_PV_PATH3: /media/data/redis/redis-data-2

  # rabbitmq variables
  RABBITMQ_PATH: /media/data/rabbitmq

  # custom or etc variables
  # IMXC_WORKER_NODE_NAME: $IMXC_WORKER_NODE_NAME # deprecated 2021.10.21
  # IMXC_MASTER_IP: 10.10.30.202
  IMXC_API_SERVER_DNS: imxc-api-service

  METRIC_ANALYZER_MASTER_VERSION: rel0.0.0
  METRIC_ANALYZER_WORKER_VERSION: rel0.0.0
  ELASTICSEARCH_VERSION: v1.0.0
  KAFKA_MANAGER_VERSION: v1.0.0
  KAFKA_INITUTILS_VERSION: v1.0.0
  #KAFKA_VERSION: v1.0.0
  KAFKA_VERSION: v1.0.1
  METRICS_SERVER_VERSION: v1.0.0
  POSTGRES_VERSION: v1.0.0
  CASSANDRA_VERSION: v1.0.0
  RABBITMQ_VERSION: v1.0.0
  CORTEX_VERSION: v1.11.0  #v1.9.0
  #CONSUL_VERSION: 0.7.1

  # 레지스트리 변수화 (Public Cloud 대비 / 아래 값 적절히 수정해서 사용할 것)
  IMXC_IN_REGISTRY: 10.10.31.243:5000/cmoa3

  rabbitmq:
    image:
      registry: 10.10.31.243:5000/cmoa3 # {{ .Values.global.IMXC_REGISTRY }}
      tag: v1.0.0 # {{ .Values.global.RABBITMQ_VERSION }}
